Closed viteisele closed 1 year ago
Should work fine now.
Better, but there is still a difference between Interpreter and Original/Compiler: When a=0.1 then the Interpreter prints "FALSE", but it should be "TRUE". Does the Interpreter makes an additional conversion to Integer ?
Yes, it did...oops...should be fixed now.
Perfect :-)
Now it can be closed
Test if statement with following code: 100 input a 110 if a then print "true": goto 100 120 print "false": goto 100
With Commodore Basic or with compiler "true" is printed when a is not 0, e. g. a is 1
With Interpreter the behavior is different: here "true" is only printed when a is -1