Re: Preprocessing within @"SOMEDEFINEDSTRING"
Re: Preprocessing within @"SOMEDEFINEDSTRING"
- Subject: Re: Preprocessing within @"SOMEDEFINEDSTRING"
- From: Shawn Erickson <email@hidden>
- Date: Fri, 20 Mar 2009 11:10:46 -0700
On Fri, Mar 20, 2009 at 10:55 AM, Daniel Luis dos Santos
<email@hidden> wrote:
> Hello,
>
> I am trying to do the thing in the subject. I define a constant with
>
> #define SOMECONST aStringWithoutWhiteSpace
#define SOMECONST @"aStringWithoutWhiteSpace"
aFunctionCall(SOMECONST)
...or possibly...
#define SOMECONST "aStringWithoutWhiteSpace"
aFunctionCall(@SOMECONST)
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden