SEARCH.V2 V01 RP AUTOMATION INC 11JAN89

 

 

DESCRIPTION

The programs in this file allow the searching of a specified

variable name in user memory, and all programs that use this

variable are displayed on the CRT screen.

 

 

PREPARATION

Load the file SEARCH.V2 into memory.

 

 

PROGRAM EXECUTION

When the "search" program is executed, it PROMPTs for the

variable name to look for. After this is entered, the program

checks 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 variable pointer area is found, a search is done

for the specified variable. Once this variable is found, it

gets displayed on the CRT screen. Additionally, the type of

variable 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 specified variable multiple times, then

that program name will get displayed along with the number of

occurrences in parentheses. (i.e. pgm (2) )

 

 

MESSAGES

***** SEARCH 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