IndexOf function
Prototype: |
function IndexOf(const Value :variant) :integer; |
|
Description: |
IndexOf function returns index position of first matching found value parameter. If the value does not exist in the VariantList then returns -1. |
|
Syntax: |
variable:= VariantList.IndexOf(Value); |
|
Part |
Description |
|
variable |
A variable declared as an integer |
|
VariantList |
A reference to an instance of a TVariantListWrapper |
|
Value |
A variant parameter to be found |
|
Return value: |
an index position of first matching found value parameter. Or returns -1 if the integer does not exist in the VariantList |
|
See also:
Free; Add; Clear; Assign; Delete; Count; IndexOf; Value; ValueAsFloat; ValueAsInteger; ValueAsString; AsVarArray
© 2024 IFER-Monitoring and Mapping Solutions