Cicode Programming Reference > Cicode Function Categories > Device Functions Introduction > PrintLn

PrintLn

Prints a string on the current device, followed by a newline character. You should call this function only in a report. The output will be sent to the device or group of devices defined in the Reports database (in the output device field).

Note: To print a new line in an RTF report, use the "\par" special character. For example, PrintLn("String" + "\par").

Syntax

PrintLn(String)

String:

The string (data) to print.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

Print

Example

! Print "Testvar" followed by a new line.
PrintLn("Value of Testvar="+Testvar:##.#);

See Also

Device Functions