aboutsummaryrefslogtreecommitdiff
path: root/vxrefbas.1
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-13 17:33:43 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-13 17:33:43 -0400
commit1701b8c7c14d38ff2de5703065d013ebe5c8f889 (patch)
tree571f209e111ee3b11159086a899c3bbc77cf8189 /vxrefbas.1
parentce201121b5785d9ecb2829d262c23050e537fa9e (diff)
downloadbw-atari8-tools-1701b8c7c14d38ff2de5703065d013ebe5c8f889.tar.gz
vxrefbas: WIP.
Diffstat (limited to 'vxrefbas.1')
-rw-r--r--vxrefbas.136
1 files changed, 25 insertions, 11 deletions
diff --git a/vxrefbas.1 b/vxrefbas.1
index 19d9d6f..6c7b7ec 100644
--- a/vxrefbas.1
+++ b/vxrefbas.1
@@ -35,25 +35,39 @@ vxrefbas \- Variable cross-reference for tokenized Atari 8-bit BASIC files
vxrefbas \fBinput\-file\fP
.SH DESCRIPTION
.sp
-\fBvxrefbas\fP reads an Atari 8\-bit BASIC tokenized program and prints
-a list of variables, each with a list of line numbers where the
-variable is referenced.
+\fBvxrefbas\fP reads an Atari 8\-bit BASIC tokenized program and prints a
+list of variables (names and token numbers), each with a list of line
+numbers where the variable is referenced.
.sp
+String variable names end with \fI$\fP\&. Arrays end with \fI(\fP\&. Numeric
+(scalar) variable names don\(aqt have a special character.
+.sp
+After the list of lines, the reference count is shown in parentheses.
Variables that aren\(aqt used by the program are listed as \fI(no references)\fP\&.
.sp
-Each line number may be followed by one or more markers, which show the
-type of variable access.
+Each line number may be followed by an \fI=\fP and one or more markers,
+which show the type of variable access.
.INDENT 0.0
.TP
-.B \fB=\fP
-The variable is assigned on this line, with \fILET\fP or "implied LET" (e.g.
+.B \fBA\fP
+Variable is assigned on this line, with \fILET\fP or "implied LET" (e.g.
\fIA=1\fP).
.TP
-.B \fB{\fP
-The variable is used as the control variable of a \fIFOR\fP loop on this line.
+.B \fBF\fP
+Variable is used as the control variable of a \fIFOR\fP loop on this line.
+.TP
+.B \fBN\fP
+Variable is used in a \fINEXT\fP on this line.
+.TP
+.B \fBD\fP
+The variable is dimensioned (\fIDIM\fP command) on this line. Only applies to
+string and array variables.
+.TP
+.B \fBI\fP
+Variable was \fIINPUT\fP on this line.
.TP
-.B \fB}\fP
-The variable is used in a \fINEXT\fP on this line.
+.B \fBR\fP
+Variable was \fIREAD\fP on this line.
.UNINDENT
.SH OPTIONS
.SS General Options