1. RE: Case?
- Posted by Chris Bensler <bensler at mail.com> Apr 04, 2002
- 366 views
There is no switch/case statement in EU. if/elsif/else takes care of it. It's just a little more difficult to type and read. Chris Sam wrote: > Does Euphoria have anything like a `Case' statement?? > > if X = 1 then do this > if X = 2 then do that > if X = 3 then do something else > . > . > . > > Any way to combine all those IFs into one statement?? > > Thanks, > > Sam > >