| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 29, 2005, at 8:43 AM, alex wrote:
No such luck: Str255 theString = "My \pPascal String"; results in "y pPascal String" (followed by garbage) That is, the first (length) byte is 0x4d (ASCII "M") and the backslash-p escapes to a lowercase "p". So if you want to use Pascal string constants, the \p must be at the beginning of the string, or it is ignored and treated like a C string. Chris |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: How to rename the volume name of a USB flash memory stick? (From: Laurence Harris <email@hidden>) | |
| >"\pPascal strings again" (From: alex <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.