Re: SWITCH question
- Posted by irv Jan 06, 2018
- 1836 views
You are correct, sir.
Some of the other switch failures seem to come from be_execute.c around line 2030 - specifically when the call to thread() is executed. thread() is defined on line 803:
#define thread() do { __asm { JMP [pc] } } while(0)
Now we are deep into the land of assembly language. Should we abandon all hope?
-- test case: include std/stack.e constant op = stack:new(FIFO) ? op constant stk = 1 ? stk switch stk do -- err line case op then puts(1, "\n result is first stack \n" ) case else puts(1, "\n result is something else \n") end switch