| Description |
Returns the string 'false' or 'true' according to the current Boolean value.
The FormatProvider parameter determines the parsing rules and is beyond the scope of this article.
|
|
| Microsoft MSDN Links |
System
System.Boolean
|
|
|
| A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
aTrue, aFalse : Boolean;
begin
aTrue := true;
aFalse := false;
Console.WriteLine('aTrue = {0}', aTrue.ToString);
Console.WriteLine('aFalse = {0}', aFalse.ToString);
Console.ReadLine;
end.
| | Show full unit code | aTrue = True
aFalse = False
|
| |
|
|
|