TConditionalString.Match function
Check if string matches given CPU and OS
Declaration
function Match(aCPU: TCpu; aOS: TOS): Boolean
function Match(const aValue: string; aCPU: TCpu; aOS: TOS): BooleanArguments
aCPU | CPU architecture to check against |
aOS | Operating system to check against |
aValue | Optional string value to match against |
Function result
True if string matches the platform criteriaDescription
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
