*Parameter()
Specifies the label, variable type, and optional default for a report parameter.
Syntax
*Parameter(var_name, label, filename|string|double|integer, ["extension"], ["default"])
Application
MotionView, HyperView, HyperGraph, and TextView.
Inputs
- var_name
- The variable name of the report parameter.
- label
- The descriptive label of the parameter.
- filename|string|double|integer
- A filename, string, double, or integer data type.
- "extension"
- The extension of the file when filename is used for type.
- "default"
- The default value for the parameter.
Example
*DefineReport(page_set_def_2, plt_fname, curve_label)
*Parameter(plt_fname, "ADAMS request file",
filename, "*.req", "indy.req")
*Parameter(curve_label, "Curve label", string",
"Filtered curve")
*Page("Page 1", page_def_1, plt_fname)
*Page("Page 2", page_def_2, curve_label)
*EndDefine()
Comments
Parameters are variables inside the report definition that can hold string or numeric data. The parameters in a report are entered in the Reports panel in the interface.