f$Parameter
f$Parameter
Calculate all information about a parameter from a parameter table, e.g. get the caption or unit for output in a dialog. The maximal field index of a parameter is potentially interesting for the logic. The formatted value can also be specified for number parameters (the number as text using the PT format specification).
The entered parameter group (type name PARAME) is used for outputting information.
Syntax: | F$Parameter( PGName, ParaName ) | ||
| Argument | Type | Meaning |
| PGName | String | Name of the PG which is to contain the parameter information. (Type name: PARAME) |
| ParaName | String | Name of the parameter (as string) |
Result: | - |
| |
Example: | f$Parameter( 'pd', 'art[i].ID' ) | ||
Please note: the name of the parameter group (and also the parameter) are usually entered as string consonants, i.e. in quotation marks. If a string parameter is entered - such as in the syntax description - the value of the entered parameter is treated as the parameter group name (as long as it is a string)