From 1701b8c7c14d38ff2de5703065d013ebe5c8f889 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 13 Jun 2024 17:33:43 -0400 Subject: vxrefbas: WIP. --- vxrefbas.1 | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'vxrefbas.1') 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 -- cgit v1.2.3