mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Prevents crashing when using INPUT and
This commit is contained in:
parent
eeff3207d6
commit
25f53e032c
|
@ -133,10 +133,12 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
|||
'handle INPUT/LINE INPUT - tell the IDE we'll be hanging for a while
|
||||
vw_cmd$ = "enter input:" + MKL$(vw_lastLine)
|
||||
GOSUB SendCommand
|
||||
EXIT SUB
|
||||
ELSEIF vwatch_linenumber = -5 THEN
|
||||
'handle end of INPUT/LINE INPUT - tell the IDE we're moving on
|
||||
vw_cmd$ = "leave input"
|
||||
GOSUB SendCommand
|
||||
EXIT SUB
|
||||
END IF
|
||||
|
||||
IF vwatch_linenumber = vw_lastLine AND vw_setNextLine = 0 THEN EXIT SUB
|
||||
|
|
Loading…
Reference in a new issue