Passing Procspace Values

The terminal user can explicitly set the first 20 words of PROCSPACE in the Proc command itself. This is done by including a list of integer word values in parentheses in the Proc command. Values are assigned consecutively to the workspace, starting with the first word. Individual words can be left unchanged by including consecutive commas in the parameter list. For example, to change the first word to octal 23 and the third to -59, enter this command:

  /P XXX(%23,,-59) 5/10  

If the procedure name is left out, the parameter list must occur before the rangelist. For example:

  /P (5,0,73,2,,-2) 5/10  

If the procedure uses any of the MPE “trap” intrinsics (XCONTRAP, XSYSTRAP, etc.), it must reset the original traps before returning to Qedit.

PROC procedures can also be substituted for the standard Qedit Modify routine. See User Interface Procedures.

To load the procedure without actually calling it, as you might want to do in the Qeditmgr file, use the PJ command. This also suppresses the error message, if the procedure cannot be found!

Passing Procspace Values