Re: SWITCH question

new topic     » goto parent     » topic index » view thread      » older message » newer message
Ekhnat0n said...

Please gimme me a link to where I can find the switch... case... default... end switch thing in the docs and includes
and I will look into the possible logical error that might lurk in there.



Go here: http://scm.openeuphoria.org/hg/euphoria/archive/tip.zip

look in execute.e (among other spots) line #1668

procedure opSWITCH_RT() 
-- Analyze the values, and update to the appropriate type of switch 
-- Then call it 
 
-- pc+1: switch value 
-- pc+2: case values 
-- pc+3: jump_table 
-- pc+4: else jump   



Good Luck!

regards,
jd

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

Search



Quick Links

User menu

Not signed in.

Misc Menu