From 7e359d5a95b28e59d2a3e97bef12f028d2ab0ad0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 17 Jun 2024 18:40:35 -0400 Subject: cxrefbas: update doc. --- cxrefbas.rst | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'cxrefbas.rst') diff --git a/cxrefbas.rst b/cxrefbas.rst index 2bba3f7..62346cd 100644 --- a/cxrefbas.rst +++ b/cxrefbas.rst @@ -11,15 +11,33 @@ Code cross-reference for tokenized Atari 8-bit BASIC files SYNOPSIS ======== -cxrefbas **input-file** +cxrefbas [**-v**] **input-file** 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, via *GOTO*, *GOSUB*, *RESTORE*, *TRAP*, *ON/GOTO*, *ON/GOTO*, -or *ON/GOSUB*. +it. Each reference is followed by a letter that indicates the type +of reference: + +**G** + *GOTO* (without *ON*) or *GO TO*. + +**S** + *GOSUB* (without *ON*). + +**I** + *IF* with line number only, e.g. *IF X THEN 1000*. + +**O** + *ON/GOTO* or *ON/GOSUB*. + +**R** + *RESTORE*. + +**T** + *TRAP*. 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