Re: constants? strings? what do i wrong?
Re: constants? strings? what do i wrong?
- Subject: Re: constants? strings? what do i wrong?
- From: "Steffi Krause" <email@hidden>
- Date: Tue, 3 Feb 2004 02:29:16 +0100 (MET)
>
The problem is not in the bit of the code that you've shown us.
>
>
If I create a project and do:
>
>
#define ASTRING @"Hello, World!"
>
NSLog(ASTRING);
thanks again for being so helpful! there is not much more code and i
commented it all out so the problem
is reduced to what i showed you.
the thing is i wanted to define the constant in the header file and then use
it inside the implementation
(inside an IBAction). now i simply declare two variables in the header and
set their content in the init
routine of the class. i'd still prefer the way of the constant, though.
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++
http://www.gmx.net/derspiegel +++
_______________________________________________
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.