Find index of conditional string matching criteria
Source position: fpmkunit.pp line 486
public function TConditionalStrings.IndexOf( |
Value: string; |
aCPU: TCpu; |
aOS: TOS |
):Integer; |
Value |
|
String value to search for |
aCPU |
|
CPU architecture to match in search |
aOS |
|
Operating system to match in search |
Index of found string or -1 if not found
IndexOf searches the collection for a conditional string that matches the specified platform criteria.
Returns the zero-based index of the first matching conditional string, or -1 if no match is found.
The search compares CPU architecture, operating system, and optionally string value to find matching entries.