Re: SWITCH question

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

Notice it goes thru E1a twice. Trying different ways to declare "op" in my test code:

constant op = stack:new(FIFO)  -- hits E1a twice, crashing on second encounter. 
constant op = cos(0) -- hits E1a only once, prior to printing the 1's, then crashes 
constant op = 1 -- hits E1a only once, prior to printing the 1's, and runs correctly 

The above leads me to believe that the problem isn't with thread(), but with the caller, which, depending upon which routine is doing the calling, results in either good, bad, or worse results. Probably not putting the correct number of parameters on the stack?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu