Using the Data Watch Window
372 SPU 780 01EMAN May 2002 195
Display Script Variables

Variable

Description

Table

Variables used within the display script:

Variable Type Description
FunctionName NA The function name must be the same as the name of the
instruction or I/O card it supports. E.g. For the ADD
instruction, the function name would be "ADD", and the
script file name would be Add.ucs.
TopAddr String Instruction Editor: The address in the top node of the
instruction.
Terminal Block Editor: For cards with input addresses only,
the first input address. For cards with output addresses
only, the first output address. For cards with both input and
output addresses, the first input address.
MidAddr String Instruction Editor: The address in the second node of the
instruction if second node exists.
Terminal Block Editor: First output address for cards
containing both input and output addresses.
BotAddr String Instruction Editor: The address in the third no de of the
instruction if third node exists.
Terminal Block Editor: Empty.
TopLen Integer Instruction Editor: The number of implied addresses
associated with the address in the top node.
Terminal Block Editor: Empty.
MidLen Integer Instruction Editor: The number of implied addresses
associated with the address in the middle node.
Terminal Block Editor: Empty.
BotLen Integer Instruction Editor: The number of implied addresses
associated with the address in the bottom node.
Terminal Block Editor: Empty.
Page Integer If a page control is specified in this script using
scAddPages, this will give the page number to display.
Unused1, Unused2 Empty Reserved Values.

Note: All of these parameters will pass data into the script