Unit 'syshelpers' Package
[Overview][Types][Classes][Variables][Index] [#rtl]

CopyToDefaultBoolStrings

Changes default boolean to string text outputs in sysutils.

Declaration

Source position: syshelpers.pp line 58

procedure TBitFormatSettings.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 theose new strings. For example SomeBooleanValue.ToString, BoolToStr(SomeBooleanValue, true) and TryStrToBool(SomeTrueOrFalseStr, SomeBoolOutVar).

See also

sysutils.UpperCase

  

Return an uppercase version of a string.

sysutils.TryStrToBool

  

Try to convert a string to a boolean value.


Documentation generated on: Oct 27 2024