Re: capture #define value?
Re: capture #define value?
- Subject: Re: capture #define value?
- From: Matt Neuburg <email@hidden>
- Date: Sat, 30 Jan 2010 18:59:04 -0800
- Thread-topic: capture #define value?
On or about 1/30/10 11:53 AM, thus spake "Chris Espinosa" <email@hidden>:
> #define QUOTE "
>
> #ifdef MACROVALUE
> NSLog("%@", @QUOTE##MACROVALUE##QUOTE);
>
> (Off the top of my head; code not compiled)
Unfortunately that didn't work (it doesn't compile, even after supplying the
missing first @). m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
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