Writeln (Method)

Applies To:

Console

Description:

Prints output text specified by the OutputData parameter to the Console window and inserts a line after the inserted text.

Note:

The Application.Alert() object model syntax is not shown in an Interactive Reporting document file deployed in the EPM Workspace, but the text in the first argument is written to theInteractive Reporting Server .log file.

Syntax:

Expression.Writeln(OutputData As Value)

Expression Required:

Returns a Console object

Example:

This example shows how to print the names of Interactive Reporting document file sections on individual lines:

Console.Writeln(ActiveDocument.Name +"'s sections are: ")
for (j=1; j < ActiveDocument.Sections.Count; j++)
Console.Writeln("Section #"+j +" = " +ActiveDocument.Sections[j].Name)