Difference between revisions of "BoolToStr"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function BoolToStr(Bool: Boolean): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Converts a ...") |
(No difference)
|
Revision as of 09:23, 28 June 2011
Definition
function BoolToStr(Bool: Boolean): AnsiString;
Availability
SCAR Divi 3.00 > Current
Description
Converts a given boolean value Bool to a string. 'True' is returned if Bool is true and 'False' if Bool is false. This action can be reversed with StrToBool.
Example
begin WriteLn(BoolToStr(True)); WriteLn(BoolToStr(False)); end.
Output:
True False