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

TBoolean64SysHelper.ToString

Boolean type helper for customizable boolean string representation.

Declaration

Source position: syshelpersbh.inc line 2

public class function TBoolean64SysHelper.ToString(

  const aValue: Boolean;

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean64SysHelper.ToString(

  const aBitFormatSettings: TBitFormatSettings;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean64SysHelper.ToString(

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean64SysHelper.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 Boolean64 type value to string using localized custom formatting.


Documentation generated on: Nov 24 2024