TConditionalStrings.Add function
Add a new conditional string
Declaration
function Add(const Value: string): TConditionalString; overload
function Add(const Value: string; const OSes: TOSes)
: TConditionalString; overload
function Add(const Value: string; const CPUs: TCPUS; const OSes: TOSes)
: TConditionalString; overloadArguments
Value | String value to add |
OSes | Set of operating systems for this conditional string |
CPUs | Set of CPU architectures for this conditional string |
Function result
Newly created conditional string item
Description
Creates and adds a new conditional string with the specified value and platform restrictions. The string will only be used when the current build targets match the specified CPU architectures and operating systems.
Platform-specific strings enable configuration of different values for different target platforms within the same package.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
