Print Statement

Concatenates and prints the given string arguments to standard out (stdout), which is redirected to esp_server.log.

Syntax

print (string [,...] )

Parameters

string

Either a string expression or a string constant

Usage

This function concatenates the provided string expressions and prints them to standard out, which is redirected to the log file esp_server.log. Just like in C/C++ or Java, you can use '\n' to print a new line and '\t' to print a tab character. The output of the print statement is written to the log file immediately when you use the '\n' option; otherwise, it is written only when the Server shuts down.

Example

print('Trade Volume for Symbol', Trades.Symbol, ' is ', string(Trades.Volume), '\n');