BASIC Anywhere Machine, being browser-based, cannot implement output to hardware devices like traditional/installed BASIC implementations can.
However, can implement related BASIC statements in a way that maintains compatibility with the original intent of those statements, providing BAM with useful functionality that does work within the confines/constraints/rules of web browsers.
LPRINT has entered the building...
This first implementation of LPRINT keeps it simple by not allowing a list of expressions as normally typical in any BASIC:
LPRINT takes the string resulting from an expression and outputs that string to a text file. The string can contain a very large number of characters.
Syntax
LPRINT string_expression
- string_expression
- this can be as simple as a string literal or a string variable, or a string expression of whatever complexity
No comments:
Post a Comment