diff options
Diffstat (limited to 'renumbas.rst')
-rw-r--r-- | renumbas.rst | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/renumbas.rst b/renumbas.rst index a442ccb..bcfa996 100644 --- a/renumbas.rst +++ b/renumbas.rst @@ -14,12 +14,14 @@ renumbas [**-v**] [**-s** *start-lineno*] [**-i** *increment*] [**-f** *first-li DESCRIPTION =========== + **renumbas** reads a tokenized Atari 8-bit BASIC program and writes a renumbered copy of the program. -**input-file** must be a tokenized (SAVEd) Atari BASIC program. Use -*-* to read from standard input, but **renumbas** will refuse to -read from standard input if it's a terminal. +**input-file** must be a tokenized (SAVEd) Atari BASIC, BASIC XL, +BASIC XE, or Turbo BASIC program. Use *-* to read from standard input, +but **renumbas** will refuse to read from standard input if it's a +terminal. **output-file** will be the renumbered BASIC program. If it already exists, it will be overwritten. Use *-* to write to standard output, @@ -27,10 +29,13 @@ but **renumbas** will refuse to write to standard output if it's a terminal (since tokenized BASIC is binary data and may confuse the terminal). -Line number references are changed in every line where they occur, so -e.g. if line 100 gets changed to 200, any other line that does a *GOTO* -*100* (or *GOSUB*, *RESTORE*, *TRAP*, etc) will be updated with the new line -number. +Line number references are changed in every line where they occur, +so e.g. if line 100 gets changed to 200, any other line that does a +*GOTO* *100* (or *GOSUB*, *RESTORE*, *TRAP*, etc) will be updated with +the new line number. If the input is BASIC/A+ or OSS Integer BASIC, +the line numbers will be changed, but references to them *will not* +be updated (a warning will be printed to stderr, in that case). + Computed line numbers can't be updated (e.g. *GOTO A or GOSUB 1000+A*100*). These will cause warnings on stderr, so you can fix them |