Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TConditionalStrings.Find

Find conditional string matching criteria

Declaration

Source position: fpmkunit.pp line 487

public function TConditionalStrings.Find(

  Value: string;

  aCPU: TCpu;

  aOS: TOS

):TConditionalString;

Arguments

Value

  

String value to search for

aCPU

  

CPU architecture to match

aOS

  

Operating system to match

Function result

Index of matching conditional string or -1 if not found

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.


Documentation generated on: Dec 15 2025