aboutsummaryrefslogtreecommitdiff
path: root/cxrefbas.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-18 06:09:10 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-18 06:09:10 -0400
commit227133e626c6956f850e7d21c93f04882208ffed (patch)
tree883c1d561feea847f025ce79cceeba956b63ad19 /cxrefbas.rst
parent9d6be822e814d38ec5eff0ddcc8bc936e7d1b6f2 (diff)
downloadbw-atari8-tools-227133e626c6956f850e7d21c93f04882208ffed.tar.gz
cxrefbas and renumbas: support LIST.
Diffstat (limited to 'cxrefbas.rst')
-rw-r--r--cxrefbas.rst14
1 files changed, 12 insertions, 2 deletions
diff --git a/cxrefbas.rst b/cxrefbas.rst
index 3966e9c..d80d818 100644
--- a/cxrefbas.rst
+++ b/cxrefbas.rst
@@ -18,8 +18,14 @@ DESCRIPTION
**cxrefbas** reads an Atari 8-bit BASIC tokenized program. For each
line number in the program, it prints a list of lines that reference
-it. Each line number reference is followed by a letter that indicates
-the type of reference:
+it.
+
+**input-file** must be a tokenized (SAVEd) Atari BASIC program. Use
+*-* to read from standard input, but **cxrefbas** will refuse to read
+from standard input if it's a terminal.
+
+Each line number reference in the output is followed by a letter that
+indicates the type of reference:
**G**
*GOTO* (without *ON*) or *GO TO*.
@@ -39,6 +45,10 @@ the type of reference:
**T**
*TRAP*.
+**L**
+ *LIST*. It's very rare for a program to *LIST* parts of itself, but
+ it's allowed by BASIC so it's supported here.
+
If a line doesn't exist, but is referenced (e.g. *GOTO 100*, but there
is no line 100), it's printed in the table, prefixed with *!*.