Sign in Join
FPDoc Onlineexperiment

TBitFormatSettings.CopyToDefaultBoolStrings procedure

Member of TBitFormatSettingspublicIn unit syshelpers

Changes default boolean to string text outputs in sysutils.

Declaration

pascal
procedure CopyToDefaultBoolStrings

Description

Strings from the record are copied to TrueBoolStrs[] and FalseBoolStrs[] in sysutils, so all boolean to string conversion functions in sysutils will use those new strings. For example: SomeBooleanValue.ToString, BoolToStr(SomeBooleanValue, true) and TryStrToBool(SomeTrueOrFalseStr, SomeBoolOutVar).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.