Command/Function NAME
Command/Function NAME

Command/Function NAME

Describes how the command is used, its capabilities, and its characteristics.

Format

The Format section explains how the command is arranged and its parameters. For example, the
AUTONUM
command starts the auto-numbering option. The format for the command is
AUTONUM <A>
,
<B>
. The
<A>
and
<B>
are parameters of this command and are replaced with values determined by the user.
For functions, parameters are enclosed within parentheses and separated by commas, such as
EXTRACT$(A$,START$,STOP$).
Numeric parameters are written as a name, while string parameters are written as a name followed by a dollar sign.

Parameters

If a command has parameters that make a command or function more specific, they are listed under this heading. Still using the
AUTONUM
example, the
<A>
parameter is defined as:
<A>
= number used to start the auto-numbering sequence

Return Value (functions only)

The return value is the result of evaluating the function or expression.

Example

When a command is best clarified in a programming context, an example of the ZBI code is provided. Text indicating parameters, exact code to be entered, or data returned from the host is printed in the
Courier
font to be easily recognizable.
An example of
PRINT
code is:
10 PRINT "HELLO WORLD" RUN HELLO WORLD

Comments

This section is reserved for notes that are of value to a programmer, warnings of potential command interactions, or command-specific information that should be taken into consideration. An example comment could be: This is a program command and must be preceded by a line number.