Is XBasic 1.27-59 limited to four banger or adding machine (with ANS and other variables) functionality unless ? or PRINT is used? Also, spaces seem to be unexpectedly significant.
Thanks for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Spaces are significant. If you want X11-Basic to calculate something, without assigning it to a variable or printing, the line has to start with a digit (0-9) otherwise the first word is interpreted as a command. so, do a 1*sqrt(2) instead.
Yes, the variable ANS will hold the result of the latest of such calculations.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is XBasic 1.27-59 limited to four banger or adding machine (with ANS and other variables) functionality unless ? or PRINT is used? Also, spaces seem to be unexpectedly significant.
Thanks for your help!
Spaces are significant. If you want X11-Basic to calculate something, without assigning it to a variable or printing, the line has to start with a digit (0-9) otherwise the first word is interpreted as a command. so, do a 1*sqrt(2) instead.
Yes, the variable ANS will hold the result of the latest of such calculations.