AUTO [start] [, increment]
Enter automatic program line entry mode.
To terminate this mode use Control-C.
With no arguments this command will take lines of text from the keyboard or USB and append them to program memory without modification. This is useful for adding lines that do not have line numbers.
If ‘start’ is provided the lines will be prefixed with an automatically generated line number. ‘start’ is the starting line number and ‘increment’ is the step size (default 10). If the automatically generated number is the same as an existing line in memory it will be preceded by an asterisk (*). In this case pressing Enter without entering any text will preserve the line in memory and generate the next number.
AUTO provides a way to load program source through a serial connection, if console is redirected through the serial port. Transmit AUTO, followed by line end. Then transmit the text of each program line. When finished, terminate AUTO mode with a Control-C. At this point the program is in MMBasic and can be run.
Leave a Reply