static const Char s_szMyString[] = "Blah Blah Blah";
the above works for me (and does the same thing in MSVC, too). of course
the string is const, which means due to the incorrect typing in the header
files in OS3 and earlier you have to cast if you want to pass it to OS APIs.
----- Original Message -----
From: Chris Yourch <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 24, 1999 5:57 AM
Subject: string in code segment
>
> I am using codewarrior and would like to put a string in the code segment?
> I used to do this in the MS/Windows world using the compiler directive:
> __based(__segname("_CODE"))
>
> How do I do this using codewarrior?
>
> Thanks,
> Chris
>
>
>