PRINT Function

Prints the string to the step log.

Category: Logging
Returned data type: Integer
Notes: The returned value is a Boolean value, which is always true.
If the second parameter is true, no linefeeds will be appended after the text.

Syntax

PRINT(string, no linefeed)

Required Argument

string

is the text to be printed; this can be specified as a text constant or a field name.

Optional Argument

no linefeed

the second Boolean determines whether linefeeds will be printed to the log after the text.

Details

The PRINT function writes text to the node summary.

Example

// Declare a string variable to contain the input value
string input
 
// Set the string variable to a value
// Use the PRINT function to write a note to the log
input='hello'
print('The value of input is ' & input)