Scripting > Scripting Basics

  
Outputting Text
 

Text information can be displayed in the console window using the print statement which has the syntax:

 

print [item[, item…]]

 

The items are comma-separated and do not need to be of the same type.  The print statement will insert a space between every specified item in the output.

 

Example: Outputting Text


print “Testing myFunction, i =”, i, “, x =”, x