aboutsummaryrefslogtreecommitdiff
path: root/vxrefbas.rst
blob: b06deb5de010f02e4d4305a04b34d723adb2efaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
========
vxrefbas
========

--------------------------------------------------------------
Variable cross-reference for tokenized Atari 8-bit BASIC files
--------------------------------------------------------------

.. include:: manhdr.rst

SYNOPSIS
========

vxrefbas **input-file**

DESCRIPTION
===========
**vxrefbas** 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.

Variables that aren't used by the program are listed as *(no references)*.

Each line number may be followed by one or more markers, which show the
type of variable access.

**=**
  The variable is assigned on this line, with *LET* or "implied LET" (e.g.
  *A=1*).

**{**
  The variable is used as the control variable of a *FOR* loop on this line.

**}**
  The variable is used in a *NEXT* on this line.

OPTIONS
=======

General Options
---------------
**--help**
  Print usage message and exit.

**--version**
  Print version number and exit.

**-v**
  Verbose operation. When displaying a number in verbose mode, it will
  be prefixed with *$* if it's in hex, or no prefix for decimal.

EXIT STATUS
===========

0 for success, 1 for failure.

.. include:: manftr.rst