• 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: Elegant way to eliminate large conditional?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elegant way to eliminate large conditional?


  • Subject: Re: Elegant way to eliminate large conditional?
  • From: Andrew <email@hidden>
  • Date: Sat, 4 Jan 2003 19:52:22 +1100 (EST)

On Fri, 3 Jan 2003, Andrew Merenbach wrote:

> Is there some (elegant) way to use a matrix-like setup (a
> two-dimensional selector or even an array?) that, given two arguments
> (a range of five numbers, for each of the temperature scales) will
> execute a different one of 25 equations or selectors?

Multi-dimensional array with selectors as one of the dimensions perhaps?

Andrew
_______________________________________________
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.

References: 
 >Elegant way to eliminate large conditional? (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Re: Elegant way to eliminate large conditional?
  • Next by Date: Re: beginSheetForDirectory
  • Previous by thread: Re: Elegant way to eliminate large conditional?
  • Next by thread: Re: Elegant way to eliminate large conditional?
  • Index(es):
    • Date
    • Thread