IDE prints globals incorrectly
Jump to navigation
Jump to search
Description
Using the IDE's execute function to print globals whilst in a subroutine fails
Example code to demonstrate the bug.
global x$
x$ = "b"
CALL routine "a"
End
Sub routine y$
z$ = y$
End Sub
Now debug through this and at the line z$ = y$ use the execute function to print x$ and y$. y$ correctly reports "a" in the mainwindow, but x$ returns a blank This is important since the IDE hides globals when not at the top level, so executing a print looks like an alternative way of finding the value of a global