Argument Edit dialog box
The Argument Edit dialog box appears whenever you choose to create or edit an argument within either the Subroutine Creation dialog box (Insert | Flow Control Command | Subroutine) or the Call Subroutine (Insert | Flow Control Command | Call Sub) dialog box.
The Argument Edit dialog box can be used in these two contexts:
To define a subroutine's arguments and their default values in a SUBROUTINE command block.
To define the values that will be passed into the subroutine from a CALLSUB command.
The following options are available in the Argument Edit dialog box:
Name - This box defines the name for the argument you are creating or editing.
Value - This box defines the value of the argument.
If creating or editing the SUBROUTINE command, this is the default value used if no value is passed into the subroutine by the CALLSUB statement.
If creating or editing the CALLSUB command, this is the value passed into the subroutine.
Valid values can be:
Numeric
Variable
Text String - Text strings must be enclosed in double quotation marks.
Feature Name - The feature name must be bounded by curly brackets, for example {F1}.
Description - Defines the description of the argument for the subroutine. This description will appear next to the argument in the Edit window's SUBROUTINE command block.