Skip to content

TConditionalStrings.Find

Find conditional string matching criteria

Declaration

Source position: fpmkunit.pp line 490

public 
function TConditionalStrings.Find(Value: string; aCPU: TCpu; aOS: TOS)
                                  : TConditionalString;

Description

Searches for a conditional string that matches the specified value and platform criteria (CPU and OS). Returns the index of the first matching item or -1 if no match is found.

Platform matching considers the CPU and OS sets to determine if the conditional string applies to the specified target platform.