SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-26
CALL
parm
specifies optional parameter string or integer expressions to be passed to the 
called procedure. Separate parameters with commas and surround them with 
parentheses.
Use the PARM statement to declare parameter variables in a procedure. For more 
information, see the PARM statement.
Example
This example shows the CALL statement: 
This example produces the following output:
?MENU Devs
 Devices <== BELOW; WINDOW [] MENU CACHE/Disc/ UNTIL /*/
 Disc <== CALL Listdev(#menutext)
 Tape <== CALL Listdev(#menutext)
 Printer <== CALL Listdev(#menutext)
 *
?PROC Listdev ( #DeviceType )    { Declare proc "Listdev"
 PARM #DeviceType;      { #DeviceType is callers parameter.
 TASK pup;        { Declare PUP process taskid.
 BESIDE;         { Position beside invoked menu.
 WINDOW pup, "listdev " & #DeviceType; { Window on Pup output from Listdev.
?SECT SectExample
 WINDOW Devs MENU CACHE/Devices/ HEAD "" FOR 1 SIZE 13;










