Usage:

print Message to be printed

Example:

print Hi,this is a test

Allows you to print a message into the log window. This script command has been replaced by the more powerful Echo command, and any new scripts should use Echo instead.

Print is capable of outputting a message in plain text to the log window:

Script:
print This is a line that will show up in the log file

Results:
19:22:10 This is a line that will show up in the log file
19:22:11 Script stopped

It is also able to display the value of a replacement variable:

Script:
set blurb Testing
print %blurb%

Results:
19:21:48 Testing
19:21:49 Script stopped

It is not, however, able to display the value of a true variable and is not able to evaluate the results of expressions:

Script:
blurb = "Testing"
print blurb
math = 1 + 1
print math
print 1 + 1

Results:
19:23:27 blurb
19:23:29 math
19:23:30 1 + 1
19:23:31 Script stopped

As you can see, it cannot get the value "Testing" from the variable blurb... nor can it add 1 + 1 to print out 2 or get the "2" value of math. You should use Echo for these purposes.


ScriptDeprecated

Print (last edited 2015-08-09 20:54:40 by LKD70)