IDebug.Write

Syntax

Write(Value: Variant);

Parameters

Value. Value that should be displayed in the console. To correctly display the value, this parameter should pass simple data types.

Description

The Write method displays value passed by the Value parameter, without moving the cursor to a new line.

Comments

The value is displayed in all the elements, which are contained in the Listeners collection.

Example

Sub UserProc;
Var
    v: Variant;
Begin
    v := 
"Current date and time: ";
    Debug.Write(v);
    v := DateTime.Now;
    Debug.WriteLine(v);
End Sub UserProc;

After executing the example the message "Current date and time: " and the current date will be displayed. Data is displayed in one line.

See also:

IDebug | IDebug.Listeners