Re: SWITCH question
- Posted by jessedavis Dec 30, 2017
- 2576 views
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