10-27-2012, 07:18 PM
boriel Wrote:Great, I'm currently out on my brothers birthday party, so can test it tomorrow if it is ready thenLCD Wrote:I've located the bug, and it's a *nasty* one. So your program might crash even if out of a loop. It unbalances the stack... It's safe to use it from within a funcion/sub but not in global scope. Anyway, I'm fixing it right now... :wink:boriel Wrote:Thanks!Thats what I though in the first posting, but okay, I forgot to say that it took effect in a loop. I made a workaround waiting for a keypress and then reading Last_K system variable as in your input routine, something that I can live with.
I''ve reduced it to:
Seems some misinteraction between code and inkey$... :oops:Code:loop1:
a=code(inkey$)
goto loop1

Strange but it also crashed inside a Function (Input).
Why I'm always running on the really *nasty* bugs... Maybe because I'm using the compiler at its limits.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!