Jump to navigation Jump to search
- The examples use
[JMP B 1 IF NOT 0]. Is this a mistake or an alias for
[JMP B 1 NIF 0]?
- Should comparisons for the
JMPcommand return 0 if the stack is empty, as assumed in the examples?
- If the user inputs the empty string, should an error be thrown?
- Is there a default value for each variable, or should an error be thrown if a variable is accessed before initialization?
NIF is used instead of
2 If the stack is empty then it's a 0.
3 No input - no error.
4 The default value is 0 for all of the variables.