RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.FalseBoolStrs Variable

Lists strings that can represent the boolean value false.

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

FalseBoolStrs 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 false. If no string match is found, TrueBoolStrs is checked, true being returned if a match is found. No matches result in the EConvertError exception being thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!