Auto – Remote Processing CAMBASIC User Manual

Page 40

Advertising
background image

Comm ands - 7

AUTO

COMMAND

SYNTAX:

AUTO [line] [,increment]

PURPOSE:

Generate a line number automatically each time you press < Enter> after a program line.

REMARK S:

AUT O is used for enter ing program s, especially w hen downloading those w ithout line numbers.

Num bering be gins at line and increments each subsequent line by increment. When both values are
omitted, the default is 10,10. When line is specified, but not increment the default increment is 10.

line is the initial number used to start num bering lines.

increment is the value adde d to each subse quent line.

AUTO is terminate by typing < Enter> with no other data on the line.

When a line already exists, an asterisk (*) is displayed after the number.

RELATED:

none

EXAMPLE:

The following generates lines number 100, 150, 200, etc. ;

AUTO 100,50

ERROR:

none

Advertising