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

Calc in level 6 is not allowed in print #141

Closed
Felienne opened this issue Feb 14, 2021 · 1 comment · Fixed by #671
Closed

Calc in level 6 is not allowed in print #141

Felienne opened this issue Feb 14, 2021 · 1 comment · Fixed by #671

Comments

@Felienne
Copy link
Member

See:
image

Not sure if we should enrich the lang or give a better error message?

@Felienne
Copy link
Member Author

Code that works:

keuzes is 1, 2, 3, 4, 5, regenworm
punten is 0
worp is keuzes at random
print worp ' punten'
if worp is regenworm punten is punten + 5
else punten is punten + worp
print 'dat zijn dan ' punten

Code that breaks (at the else?!)

keuzes is 1, 2, 3, 4, 5, regenworm
punten is 0
worp is keuzes at random
print worp
if worp is regenworm punten is punten + 5
else punten is punten + worp
print 'dat zijn dan ' punten

Felienne added a commit that referenced this issue Aug 24, 2021
@Felienne Felienne mentioned this issue Aug 24, 2021
Felienne added a commit that referenced this issue Aug 26, 2021
* Fixes #141

* Fix small textual issue in regenworm adventure in all langs
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

Successfully merging a pull request may close this issue.

1 participant