f$PGCount (f$PGAnzahl)
f$PGCount (f$PGAnzahl)
With this function, the saved line count in a 1-dimension parameter group can be read. The function calculates the number of lines by checking the individual values of the given parameter in the parameter group until the first appearance of NOVAL or UNDEF status.
Syntax: | Count = f$PGCount ( 'PGName' , 'Paraname' ) | ||
| Argument | Type | Meaning |
| PGName | String | Name of the 1-dimension parameter group whose saved count is to be calculated |
| Paraname | String | Name of a parameter in a parameter group, using the statuses of which the data saved is checked. |
Result: | Integer | >0 : data saved in PG 0 : parameter group is empty -1 : parameter group is not 1-dimension -2 : parameter name does not exist -3 : parameter group does not exist | |