SPPARKS WWW Site - SPPARKS Documentation - SPPARKS Commands

print command


print string 


print "Done with equilibration"
print "The system temperature is now $t" 


Print a text string to the screen and logfile. The text string must be a single argument, so it should be enclosed in double quotes if it is more than one word. If variables are included in the string, they will be evaluated and their current values printed.

If you want the print command to be executed multiple times (with changing variable values) then the print command could appear in a section of the input script that is looped over (see the jump and next commands).

See the variable command for a description of equal style variables which are typically the most useful ones to use with the print command. Equal-style variables can calculate formulas involving mathematical operations, or references to other variables.

Restrictions: none

Related commands:


Default: none