Parameters
Parameters
- Subject: Parameters
- From: John MacMullin <email@hidden>
- Date: Fri, 7 Nov 2003 15:25:29 -0700
1. After some experimentation, the following works:
#define clearAndSort -1
#define noRedDisplay NO;
[self clearScreenFields:clearAndSort checkRed:[self setNoRedDisplay]];
- (bool)setNoRedDisplay
{
return noRedDisplay;
}
__________
2. The following also works:
#define clearAndSort -1
#define noRedDisplay NO;
bool testbool = noRedDisplay;
[self clearScreenFields:clearAndSort checkRed:testbool];
3. This does not work, although it seems that it should, since the
first part, with the "clearAndSort" parameter alone, does:
[self clearScreenFields:clearAndSort checkRed: noRedDisplay];
_______________________________________________
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.