Global functions

print

void print( message )

Prints a message to the HMI Logger window.

Parameter Description
message Message string

print("Test message");

alert

void alert( message )

Displays a pop-up dialog with the given message. The user must press the OK button in the dialog to continue with the execution of the script.

Parameter Description
message Message string

Note: The alert function may be used for debugging JavaScript functions.

alert("Test message");

(Available on web pages)