Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
Keywords

Parameter Types

The following parameter types are used throughout this documentation:

  • statement – A single BASIC statement, including any required parameters. Example: PRINT "Hello"
  • integer-expression – A numeric expression or constant that evaluates to an integer value. Examples: 7, A + 6
  • real-expression – A numeric expression or constant that evaluates to a real (floating-point) value. Examples: 7.5, A# + 2.8 + B
  • string-expression – A string literal or an expression that evaluates to a string. Examples: "hello", "hi " + A$
  • expression – A generic term for any of the above expression types (integer, real, or string), as appropriate.
  • integer-variable – A variable that holds an integer value. Example: val
  • real-variable – A variable that holds a real (floating-point) value. Example: radius#
  • string-variable – A variable that holds a string value. Example: mystr$
  • variable-name – Any valid variable name from the types above.
  • printable – A list of one or more values (of any type) to be output by PRINT. Items may be separated by , or ;.
    • A , inserts tab spacing between values.
    • A ; prints values directly with no spacing.
    • If the list does not end with ;, a newline is automatically added.

Keyword Index