• 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
Parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Parameters
      • From: Glen Simmons <email@hidden>
    • Re: Parameters
      • From: Alastair Houghton <email@hidden>
    • Re: Parameters
      • From: Chris Hanson <email@hidden>
    • Re: Parameters
      • From: Clark Cox <email@hidden>
  • Prev by Date: NSDrawer
  • Next by Date: Re: NSController, currentDocument
  • Previous by thread: NSDrawer
  • Next by thread: Re: Parameters
  • Index(es):
    • Date
    • Thread