Re: New switch/case idea

new topic     » goto parent     » topic index » view thread      » older message » newer message
kinz said...
switch X  -- pure switch 
  case a ?1 
  case b ?2 
  else   ?3 
end switch 
cascade X -- instead of switch with fallthrou 
  stage a ?1 
  stage b ?2 break 
  else    ?3 
end cascade 

I saw Niagara in my dream yesterday ...

If the switch has "with fallthru", wouldn't it be cascode?

useless

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

Search



Quick Links

User menu

Not signed in.

Misc Menu