Skip to content
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

Broken IF statement #2

Open
yuppox opened this issue Nov 6, 2020 · 0 comments
Open

Broken IF statement #2

yuppox opened this issue Nov 6, 2020 · 0 comments

Comments

@yuppox
Copy link

yuppox commented Nov 6, 2020

The following program loops forever:

10 X=5
20 PRINT X
30 X=X-1
40 IF X>0 THEN GOTO 20

The IF statement doesn't produce an error but also doesn't evaluate as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant