ToString: String;
The ToString property returns the value of the current variable converted into string type.
Sub UserProc;
Var
b: Boolean;
d: Decimal;
s: String;
Begin
d := 123;
b := True;
s := d.ToString + b.ToString;
Debug.WriteLine(s);
End Sub UserProc;
After executing the example the console displays the 123True value.
See also: