• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: constants? strings? what do i wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: constants? strings? what do i wrong?
      • From: Pete Yandell <email@hidden>
  • Prev by Date: Re: Packager
  • Next by Date: Fwd: Packager
  • Previous by thread: Re: constants? strings? what do i wrong?
  • Next by thread: Re: constants? strings? what do i wrong?
  • Index(es):
    • Date
    • Thread