XREF.V2 V01 RP AUTOMATION INC 11JAN89

 

DESCRIPTION

The programs in this file cause a cross reference listing to

be generated on the CRT screen. This listing will show all

variables (except those beginning with "xr."), as well as the

programs that use them.

 

PREPARATION

Load the file XREF.V2 into memory.

 

 

PROGRAM EXECUTION

When the "xref" program is executed, it immediately attempts

to find a special area in the VAL-II memory where the system

stores pointers to the variable names. If this area is not

found, then a message gets displayed, and the program gets

ABORT'd.

Once this special area is found, a variable name is found and

displayed to the CRT screen. Additionally, the variable type

is shown (TRANSFORMATION, PRECISION POINT, PROGRAM, or REAL

VARIABLE), and "[]" is displayed if it is an array.

Then, all .PROGRAM's in the user memory are searched to see

if they use the specified variable. If they do, then those

program names are displayed on the screen.

 

 

NOTES

If a program uses the variable multiple times, then when that

program name is displayed, the number of occurrences will be

displayed also in parentheses. (i.e. pgm (2) )

No variables beginning with the characters "xr." will be used

as the "search" variable.

 

 

MESSAGES

***** CROSS REFERENCE PROGRAM HAS FINISHED *****

This message gets displayed when the program is finished.

 

*** Couldn't find VARTAB data ***

This message gets displayed if the special area of VAL-II

memory is searched and the expected data is not found.

 

RP Automation
Tel  (800) 367-7862  (800) FOR PUMA  Fax  (203) 792-2154
Email  info@rpautomation.com

all content copyright RP Automation 1997