How to use switch with ranges?

new topic     » topic index » view thread      » older message » newer message

Suppose I need to write something like:

switch age do 
     case 1..20 then msg = "No Beer!" 
     case 21..30 then msg = "check dress code" 
     case 31..50 then msg = "suggest they try the veal" 
     case 50.. 

You get the idea Is there a range or set or ? function to do this in eu 4.0?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu