TCustomIniFile.SetBoolStringValues procedure
Set the boolean string values to use when writing to file.
Declaration
procedure SetBoolStringValues(ABoolValue: Boolean;
Values: Array of string = string)Arguments
ABoolValue | Boolean value to set string values for. |
Values | String values for the specified boolean value. |
Description
SetBoolStringValues Sets the strings to recognize as boolean variable
ABoolValue to
Values.
When reading boolean values, these values are reported as
ABoolValue in
ReadBool.
The first value in the list is used to write the boolean
ABoolValue value.
To ensure correct operation, this function should be called with values for both True and False.
The string values are ignored if ifoWriteStringBoolean is not in the ini file options.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
