home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 20
/
020.d81
/
t.auto.num
< prev
next >
Wrap
Text File
|
2022-08-26
|
880b
|
61 lines
Auto Line Number
Written by: Jeff Johnson
Here is a small machine-language
routine that will automatically give
you line numbers when you begin
writing a program.
To use Auto Line Number, simply
load the file using:
LOAD "AUTO NUMBER",8,1 <RETURN>
and then
NEW <RETURN>
To activate the numbering, type
SYS 833. This will give you the
standard increment value of 10 between
lines. If you wish to change the
increment value, POKE it into memory
location two. For example, to change
the increment to seven, you would
POKE 2,7. To change where the line
numbering starts, delete the current
line number and put your own in. Auto
Number will start with the last line-
number you entered.
To deactivate Auto Line Number,
press the STOP key.
>Files used: AUTO.NUM
AUTO NUMBER
---------< end of article >-----------