home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!henson!reed!bowman
- From: bowman@reed.edu (BoBolicious)
- Subject: Re: List Manager help wanted
- References: <D2150096.mur2al@sproul.sproul.com> <HARDIN.93Jan6231614@dino.mcc.com>
- Organization: Reed College, Portland, OR
- Date: Thu, 7 Jan 1993 07:23:35 GMT
- Message-ID: <1993Jan7.072335.6559@reed.edu>
- Lines: 24
-
- In article <HARDIN.93Jan6231614@dino.mcc.com> hardin@dino.mcc.com (John Hardin) writes:
- >Mark Sproul (Sproul@sproul.sproul.com) writes:
-
- >> On your other question, as far as I know, Think C does not support,
- >> mystring="\p Something ";
-
- >ThinkC DOES, in fact, support Pascal string literals. P. 206 of the
- >ThinkC 5 manual states "To write a Pascal string constant, start the
- >string with "\P" or "\p"."
-
- I missed the beginning of this thread, where mystring was apparently defined,
- but perhaps the key is that:
-
- mystring = "\p somthing";
-
- works if mystring is declared as an unsigned char *.
- It *doesn't* work if mystring is a Str255 or any other array construct where
- the actual storage is allocated on the stack.
-
- cheers,
- bobo In seeking the unattainable,
- bowman@reed.edu simplicity only gets in the way.
- "On Monday, numbers floated everywhere, and the world was full of
- approximations." -- Spencer Heinz, _The Oregonian_, 1/5/93
-