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

Print

Prints a string on the current device. You should call this function only in a report. The output is 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, Print("String" + "\par").

Syntax

Print(String)

String:

The string (data) to print.

Return Value

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

Related Functions

PrintLn

Example

! Print "Testvar" and stay on the same line.
Print("Value of Testvar="+Testvar:##.#);

See Also

Device Functions