On 11/29/05 6:45 PM, Mark Wagner didst favor us with:
> On 11/29/05, Mike Kluev <email@hidden> wrote:
>> On Tue, 29 Nov 2005 14:10:28, Chris Espinosa <email@hidden> wrote:
>>
>>>> or forming a pascal string using another sort of escape code (like
>>>> octal and counting the length yourself).
>>>
>>> Ick.
>>
>> No, this is "ick":
>>
>> UniChar unicode[] = {
>> 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '!'
>> };
>
> No, *this* is "ick":
>
> UnicodeChar AlternateFont[] = {'\017','T','i','m','e','s','
> ','N','e','w',' ','R','o','m','a','n'};
>
> (Yes, that is a Pascal-style unicode string, and yes, it does come
> from actual code)
In "real code" I'd do this:
THFSUniStr255 alternateFont( "Times New Roman" );
I hate ick and I love C++. ;-)
Larry
_______________________________________________
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