BoolToStr

Convert a boolean value to a string.

Declaration

Source position: sysstrh.inc line 240

  function BoolToStr(B: Boolean; UseBoolStrs: Boolean) : string;
  function BoolToStr(B: Boolean; const TrueS: string; 
                    const FalseS: string) : string;

Description

BoolToStr converts the boolean B to one of the strings 'TRUE' or 'FALSE'

Errors

None.

See also

Name Description
StrToBool Convert a string to a boolean value