Hi Mark,

Stephen-

...
3. If I have a list of targets that I will probably want to expand
then that's a candidate for a switch statement.

switch itemToTest
  case
    "sloth"
    "envy"
    "gluttony"
    put "sin" into whatIsIt
    break
  default
    put "virtue" into whatIsIt
end switch

to use the engines syntax: bad case :-)

We have to write:

...
switch itemToTest
  case "sloth"
  case "envy"
  case "gluttony"
    put "sin" into whatIsIt
...

-Mark Wieder
 [EMAIL PROTECTED]

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to