Skip to main content
Skip table of contents

p$TDV:Allg:PGIndex_B


p$TDV:Allg:PGIndex_B

Find the index of a parameter value of a single-index parameter group. The search processes a parameter of the parameter group over all indices from 1 to the given number. Upon hitting the first element of the array containing the EMPTY or UNDEF the search is ended.. If number 0 is specified, the defined size of the parameter group will be determined. Therefore no adjustment of the function call is necessary upon a change in indexing. Soll unabhängig von der Belegung bis zur angegebenen Anzahl gesucht werden, so ist die Funktion p$TDV:Allg:PGIndex zu verwenden.

Please note: Instead of this function the function f$PGIndex should rather be used.

Syntax:

Index = p$TDV:Allg:PGIndex_B (Value, PGName, ArrayName, Number)

 

Argument

Type

Meaning

 

Value

String

Value to search for

 

PGName

String

Name of the individual parameter group to be searched.

 

Array name

String

Name of the parameter of the parameter group that is to be searched

 

Number

Integer

Number of the indexes to be searched of the parameter group.

Result:

Integer

Index of the parameter group where the value of the parameter array name contains the value to be searched. If the value wasn't found the result will be -1.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.