Please enable JavaScript to view this site.

ESL Documentation

You can send messages to the errorlog from within the ESL program, using the send statement.

 

Text is written to the errorlog exactly as it is specified, so you might want to use control characters to control where the text is printed. For example, if you want to send the values of the variables Var1 and Var2 to the errorlog, you might specify the following statement:

 

send "Var1 is: " Var1 "\nVar2 is: " Var2 "\n" to errorlog 

 

Note that the use of "\n" places output on separate lines. This statement produces messages such as the following:

 

Var1 is: Goodbye

Var2 is: Hello

 

You can send any number of values in a single send statement.