ToString: String;
The ToString property returns the value of the current variable converted into string type.
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: