Boolean.ToString

Syntax

ToString: String;

Description

The ToString property returns the value of the variable converted into string type.

Example

Sub Main;

Var

b: Boolean;

i: Integer;

s: String;

Begin

i := 123;

b := True;

s := i.ToString + b.ToString;

End Sub Main;

After executing the example the "s" variable will contain the value 123True.

See also:

Boolean