-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session: executing "GOSUB line" after entering program → strange result #184
Comments
Thanks, that's odd indeed. Your expectation is correct. |
It looks like the runmode flag gets set on executing the |
The issue is that |
… as that sets the runmode to True
Fixed by commit 52e24aa. Thanks for reporting! |
PC-BASIC version: 2.0.4
I get a strange result when entering a program in a
Session
and theGOSUB
to a specific line. Here is a small test case:The output I get:
What I expected was just the "Sub" without the 42 from line 30. And extra confusing is that "Main" is not printed. So why is the
RETURN
apparently jumping to line 20 instead of just return to the ”prompt” like it is done if the program and theGOSUB
is entered manually?The text was updated successfully, but these errors were encountered: