Specifying the parameter list from a program
The Host Access Toolkit (included on the Host On-Demand CD-ROM)
provides two Java methods for managing parameter lists:
- public Properties getPrimitiveMacroVariables()
Returns, for each primitive variable in the macro, the variable name and the initial value to which the macro sets the variable. Use this method to get a list of the all variables in the macro that you could include in a parameter list.
- public void setVariableParameters (Properties p)
Specifies an input parameter list for the macro, consisting of a variable name and a value for each parameter.