IDebug.WriteLine

Syntax

WriteLine(Value: Variant);

Parameters

Value. Value that should be displayed in the console.

Description

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

Comments

To correctly display the value, this parameter should pass simple data types.

Example

Sub UserProc;
Var
    v: Variant;
Begin
    v := "Current date and time: ";
    Debug.WriteLine(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 separate lines.

See also:

IDebug