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

TWordBoolSysHelper.ToString

Boolean type helper for customizable boolean string representation.

Declaration

Source position: syshelpersbh.inc line 2

public class function TWordBoolSysHelper.ToString(

  const aValue: Boolean;

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TWordBoolSysHelper.ToString(

  const aBitFormatSettings: TBitFormatSettings;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TWordBoolSysHelper.ToString(

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TWordBoolSysHelper.ToString(

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

Arguments

aValue

  

Boolean value that will be converted to string.

aTrueStr

  

Custom string used for representation of boolean TRUE state.

aFalseStr

  

Custom string used for representation of boolean FALSE state.

aCharsCase

  

Optional string casing.

Function result

Helper function result string.

Arguments

aBitFormatSettings

  

Record holding custom strings for boolean to string conversion.

aCharsCase

  

Optional string casing.

Arguments

aTrueStr

  

Custom string used for representation of boolean TRUE state.

aFalseStr

  

Custom string used for representation of boolean FALSE state.

aCharsCase

  

Optional string casing.

Arguments

aCharsCase

  

Optional string casing.

Description

Convert WordBool type value to string using localized custom formatting.


Documentation generated on: Dec 26 2024