Describe the bug
When you attempt to type a single line if statement, the "if" section works perfectly, however the "else" part does not run. This bug produces no errors and the multiline version works.
To Reproduce
Steps to reproduce the behavior:
- Run Spindle and type this into the terminal:
IF (6+6 == 13){DISPLAY("a")}ELSE{DISPLAY("b")}
Expected behavior
The If and Else parts both work successfully
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] NA
- Version [e.g. 22] 1.1.2 - Beta
Additional context
Since the multi-line part works, and this addresses if statements, this could be fixed by making all if statements handled as if they where multiline in the semi parser
Describe the bug
When you attempt to type a single line if statement, the "if" section works perfectly, however the "else" part does not run. This bug produces no errors and the multiline version works.
To Reproduce
Steps to reproduce the behavior:
IF (6+6 == 13){DISPLAY("a")}ELSE{DISPLAY("b")}Expected behavior
The If and Else parts both work successfully
Desktop (please complete the following information):
Additional context
Since the multi-line part works, and this addresses if statements, this could be fixed by making all if statements handled as if they where multiline in the semi parser