diff options
author | B. Watson <urchlay@slackware.uk> | 2024-06-13 17:33:43 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-06-13 17:33:43 -0400 |
commit | 1701b8c7c14d38ff2de5703065d013ebe5c8f889 (patch) | |
tree | 571f209e111ee3b11159086a899c3bbc77cf8189 /vxrefbas.1 | |
parent | ce201121b5785d9ecb2829d262c23050e537fa9e (diff) | |
download | bw-atari8-tools-1701b8c7c14d38ff2de5703065d013ebe5c8f889.tar.gz |
vxrefbas: WIP.
Diffstat (limited to 'vxrefbas.1')
-rw-r--r-- | vxrefbas.1 | 36 |
1 files changed, 25 insertions, 11 deletions
@@ -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 |