The
sysparm function returns the value of a parameter provided in a
data entry or
batch edit PFF file. The function returns the parameter as a left-justified string. If no parameter was given in the PFF file, the function returns a blank string.
If a string expression parameter_name is provided, the function looks to see if there is a parameter with the given name specified in the [Parameters] section of the PFF file. If such a parameter exists, it is returned as a string. Using this functionality, you can pass several parameters to your programs.
On Windows, it is possible to check for the presence of a command line argument using this function. If parameter_name is not in the PFF file, the function will check if that string is specified in the command line and if so, will return a non-blank string.
The function returns a string containing the parameter.
[Parameters]
Parameter=Otter
State=20
County=5