Runtime.Print

Prototypes

static void Print( String sText <, boolean bNewLine> )

Parameters

String sText
The string to send to the program's output window.

boolean bNewLine
If bNewLine is true, a new line is started after the string sText is output. If bNewLine is false, a new line is not started after the string sText is output. Calling this method without specifying the bNewLine parameter is equivalent to calling it with bNewLine equal to true.

Remarks

This method sends a string to the program's output window. Unlike the PRINT statement, this method is capable of sending any Unicode string to the output window.

Notes
Example
declare String s = "\u03B1 \u03B2 \u03b4 \u03C0 \u03C3"j;
Runtime.Print( "Here are some Greek letters: " + s );

/* a progress indicator */
Runtime.Print( "Performing long computation", false );
do i = 1 to 20;
    Runtime.Print( ".", false );
    run Delay( 250 );
end;
Runtime.Print( "Finished!" );