Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!hub!6600pete From: 6600pete@ucsbuxa.ucsb.edu Newsgroups: comp.lang.c Subject: Re: Strings in C (Re: ambiguous ?) Message-ID: <2767@hub.UUCP> Date: 28 Oct 89 04:02:50 GMT References: <11398@smoke.BRL.MIL> <14115@lanl.gov> <2522@munnari.oz.au> <6676@ficc.uu.net> <2421@convex.UUCP> <2742@hub.UUCP> <6706@ficc.uu.net> Sender: news@hub.UUCP Reply-To: pete@cavevax.ucsb.edu Organization: Underground BBS: rlogin 128.111.41.100 -l bbs Lines: 27 In-reply-to: peter@ficc.uu.net's message of 27 Oct 89 19:45:31 GMT In article <6706@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: > I said: >>In most Macintosh C compilers that I've seen, the syntax !"%p...."! is > In article <2742@hub.UUCP> pete@cavevax.ucsb.edu writes: >> Actually, the syntax is "\p...", > Ack. (takes aim at foot) >> but that's only a nit I had to pick. > I'm afraid it's not nitpicking. !\p! is an extension that doesn't conflict > with existing non-Mac code or working ANSI code. It's reasonable. I thought > it was !%p!, which conflict with "pointer" format in ANSI C. > (*BANG*) OK, everybody seems to be shooting themselves in the foot on this one. Until we get a real Mac C type with the balls to post in this group, I volunteer to shut up, after the next paragraph. So far, we've concluded that Mac C compilers generally support BOTH "\p..." AND "%p" in different contexts, for different things (and if you think about it a little, I won't have to explain it and take FURTHER risks of shooting myself in the foot). Direct pro-Mac-C flames to mail, please. I hack the Mac (Mack), but in Pascal and assembly, thank you. -- | GurgleKat (Pete Gontier), pete@cavevax.ucsb.edu | .UUCP reply addresses bounce; try another path. | ...if you'd gone to Dartmouth, you'd not have had to take the math.