Compiler constants in NSString
Compiler constants in NSString
- Subject: Compiler constants in NSString
- From: Stephane ODUL <email@hidden>
- Date: Sun, 22 Sep 2002 20:08:08 -0700
Hi,
I'm wondering if there is a way to put a constant in a NSString at
compile time, without using stringWithCString.
this works just fine:
[NSString stringWithCString:"Build date: " __DATE__ " " __TIME__]
This has an error at compile time:
@"Build date: " __DATE__ @" " __TIME__
Any idea ?
Stephane ODUL
http://www.soft.odul.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.