Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Strings in C (Re: ambiguous ?) Message-ID: <6676@ficc.uu.net> Date: 25 Oct 89 16:19:48 GMT References: <11398@smoke.BRL.MIL> <14115@lanl.gov> <2522@munnari.oz.au> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 15 In article <2522@munnari.oz.au> ok@cs.mu.oz.au (Richard O'Keefe) writes: > C provides direct > syntax for literals of only one type, but as I showed above, it isn't > hard to come up with macros to declare named constants of the other > types. In most Macintosh C compilers that I've seen, the syntax !"%p...."! is used to indicate byte-counted strings. P stands for "pascal". Was X3J11 aware of this? Or are the Mac compiler vendors going to change? -- Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation. Biz: peter@ficc.uu.net, +1 713 274 5180. Fun: peter@sugar.hackercorp.com. `-_-' "That particular mistake will not be repeated. There are plenty of 'U` mistakes left that have not yet been used." -- Andy Tanenbaum (ast@cs.vu.nl)