TConditionalStrings.IndexOf¶
Find index of conditional string matching criteria
Declaration¶
Source position: fpmkunit.pp line 489
public
function TConditionalStrings.IndexOf(Value: string; aCPU: TCpu;
aOS: TOS) : Integer;
Description¶
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.