Re: Token Concatation in Info.plist Files?
Re: Token Concatation in Info.plist Files?
- Subject: Re: Token Concatation in Info.plist Files?
- From: Andreas Wittenstein <email@hidden>
- Date: Mon, 5 Feb 2007 12:02:59 -0800
Thanks, Douglas!
Try this:
#define __macroConcat2A( a, b ) a##b
#define __macroConcat2( a, b ) __macroConcat2A( a, b )
Yes, this works.
I did some hunting and research on various sites, and even the
archive to this list.
I think you can only use the ## within a macro definition, and you
need two macros to get it to work.
That's what I was doing wrong: I was using it in an invocation
instead of a definition.
I do not understand why, I tried it with one and it didn't work,
and then found something that said use the double definition method
above.
A single '#' stringifies the following token: That is, it encloses it
in quotation marks.
Cheers,
Andreas Wittenstein
BitJazz Inc.
http://www.bitjazz.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