Path: utzoo!mnetor!uunet!husc6!bbn!oberon!cit-vax!tybalt.caltech.edu!sho From: sho@tybalt.caltech.edu (Sho Kuwamoto) Newsgroups: comp.sys.mac Subject: Re: Is there a way to get line numbers in MPW? Message-ID: <5766@cit-vax.Caltech.Edu> Date: 14 Mar 88 11:46:49 GMT References: <2060@phoenix.Princeton.EDU> Sender: news@cit-vax.Caltech.Edu Reply-To: sho@tybalt.caltech.edu.UUCP (Sho Kuwamoto) Organization: California Institute of Technology Lines: 23 In article <2060@phoenix.Princeton.EDU> buzz@phoenix (Mahboud Zabetian) writes: >I'm sorry to be posting here, but we don't seem to have comp.sys.mac.programmer >anymore. > >How would I get line numbers for my source files in MPW? When I use the C >compiler, I get error messages and the lines that the errors occured in. >But how do I get the editor to show line numbers so that I can find my errors >more easily? > >I'm sure this is probably a stupid question. Forgive my ignorance. >-- I found this absolutely impossible to figure out, and then it seemed pretty obvious once someone told me. You select the line with the error message and hit Enter. I don't remember the exact syntax of the error message, but it's something like: File bletch.c : line n # Some random error here. which apparently is a valid shell command. -Sho (sho@tybalt.caltech.edu, sho@caltech.bitnet, ...!cit-vax!tybalt!sho)