RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TrueBoolStrs Variable

Lists strings that can represent the boolean value false.

Pascal
TrueBoolStrs: array of String;
C++
array of String TrueBoolStrs;

SysUtils

TrueBoolStrs is an array of strings that are used in conversions between Boolean values and strings. 

When using the BoolToStr function, false values are converted to the first string in the list. 

When using the StrToBool function, any string found in the list, regardless of case, is converted to true. If no string match is found, FalseBoolStrs is checked, false being returned if a match is found. No matches result in the EConvertError exception being thrown. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!