Strings in C (Re: ambiguous ?)

6600pete at ucsbuxa.ucsb.edu 6600pete at ucsbuxa.ucsb.edu
Fri Oct 27 17:37:51 AEST 1989


In article <2421 at convex.UUCP> grogers at sushi.uucp (Geoffrey Rogers) writes:
> In article <6676 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
>>In most Macintosh C compilers that I've seen, the syntax !"%p...."! is

Actually, the syntax is "\p...", but that's only a nit I had to pick.

>>used to indicate byte-counted strings. P stands for "pascal".
>>
>>Was X3J11 aware of this? Or are the Mac compiler vendors going to change?

No, they're not. It's for ROM compatibility and there isn't a work-around.

> Why should Mac compiler vendors have to change this feature. It is an
> extension of the language, which they deem important for there market
> place.

Yes. But that seems so obvious as to not be an issue. (Although, in this
group, I should know better.)

> The only real question is, do they document it as an extension?

Yes, they do.
--
  | GurgleKat (Pete Gontier), pete at 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.



More information about the Comp.lang.c mailing list