From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: peter@baileynm.com (Peter da Silva) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/09/05 Message-ID: <6ss804$qqd@web.nmti.com>#1/1 X-Deja-AN: 388243420 References: <0095000017115526000002L062*@MHS> <6s17hi$2g8@post.gsfc.nasa.gov> <6s4o0o$q31@news1.panix.com> <6s6dtu$d34@post.gsfc.nasa.gov> Organization: Bailey Network Management Newsgroups: comp.os.vms,comp.sys.dec In article <6s6dtu$d34@post.gsfc.nasa.gov>, Bob Koehler wrote: >Sorry, but Mac C compilers are the only ones I've seen which support >Pascal-format string constants. ANSI C calls for string constants which >are null terminated. But sizeof() gives you the length even if it contains nulls. So you can do things like this: char *_string_(char *s, char l) { int i; for(i = 0; i `-_-' "If Microsoft don't think you need it, it's not there and there's no 'U` way to include it yourself." -- Geoff Lane, a.s.r.