Re: why does this code generate a[n incorrect] error?
Re: why does this code generate a[n incorrect] error?
- Subject: Re: why does this code generate a[n incorrect] error?
- From: Justin Walker <email@hidden>
- Date: Wed, 16 Jun 2004 14:51:41 -0700
Please don't cross-post.
On Jun 16, 2004, at 14:26, Markian Hlynka wrote:
extern int STOP;
#define EQUALS ==
if(STOP EQUAL 1)
{
do something
}
It would help if we actually had the code in question, but there are
two problems with this:
1) EQUALS != EQUAL
2) as a standalone fragment, this isn't well-formed
(you can't have executable statements outside a
procedure)
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.