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

TConditionalString.Match

Check if string matches given CPU and OS

Declaration

Source position: fpmkunit.pp line 469

public function TConditionalString.Match(

  aCPU: TCpu;

  aOS: TOS

):Boolean;

function TConditionalString.Match(

  const aValue: string;

  aCPU: TCpu;

  aOS: TOS

):Boolean;

Arguments

aCPU

  

CPU architecture to check against

aOS

  

Operating system to check against

Function result

True if string matches the platform criteria

Arguments

aValue

  

Optional string value to match against

aCPU

  

CPU architecture to check against

aOS

  

Operating system to check against

Description

Match evaluates whether this conditional string applies to the specified CPU architecture and operating system.

The method returns True if the string's conditions match the provided platform parameters.

This is the core functionality that enables platform-specific string selection in build configurations.


Documentation generated on: Dec 15 2025