At 11:03 AM -0700 9/21/2001, Gregory Lypny wrote:
>     Can the switch control structure handle inequalities in the cases,
>such as
>
>          case > = 0.235  ?


Not in that form, but you can use case with a complete expression rather
than a value:

  switch
    case x >= 0.235
       doSomething
       break
    case x < 0.235
       doSomethingElse
       break
    default
       doYetAnotherThing
  end switch

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to