From 227133e626c6956f850e7d21c93f04882208ffed Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 18 Jun 2024 06:09:10 -0400 Subject: cxrefbas and renumbas: support LIST. --- cxrefbas.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'cxrefbas.rst') 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 *!*. -- cgit v1.2.3