Specifies the label, variable type, and optional default for a report parameter.
*Parameter()Specifies the label, variable type, and optional default for a report parameter. |
|||||
*Parameter()Specifies the label, variable type, and optional default for a report parameter. |
Syntax |
*Parameter(var_name, label, |
|
Arguments |
Name |
Description |
var_name |
The variable name of the report parameter. |
|
label |
The descriptive label of the parameter. |
|
filename|string| |
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", *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() |
|
Application |
MotionView, HyperView, HyperGraph, TextView. |
|
Context |
||
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. |
|
See also |
|
|