f$GetPGParameter
f$GetPGParameter
Detect all the parameter names of a parameter group. When calling the function for the first time, the name of the parameter group must also be entered. Names cannot be entered during all following calls, otherwise the function begins again from the start. One parameter name is returned per function call. If the end of the parameter group has been reached, an empty string (") is returned. If the parameter is indexed, this is indicated by showing the parameter index in [] in the name. E.g. Name[1] means that the parameter is 1-dimension (has an index of 1). Irrespective of the optional argument WithIndexes, all indices of this parameter will be run through or just the first returned.
Syntax: | Name = f$GetPGParameter(PGName [,WithIndexes] ) | ||
| Argument | Type | Meaning |
| PGName | String | Name of the parameter group ( note: only enter for the first call) |
| WithIndexes | Integer | This parameter is optional. You can use it to specify if all indices of an indexed parameter are returned or only the first. If WithIndexes = 0 only the first index of an indexed parameter is returned and then the next parameter is skipped to. If WithIndexes has a value of 1 or if it is left out, all indices of the indexed parameter are returned. |
Result: | String | Name of the next parameter or " if there are no more parameters present. | |
Example: | Name = f$GetPGParameter('Address')àName = 'AddressID' | ||