git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5257 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2010-11-18 17:28:36 +00:00
parent 61dcd4156e
commit 37b51e682f
16 changed files with 296 additions and 126 deletions

View File

@ -10,23 +10,23 @@ print command :h3
[Syntax:]
print str1 str2 ... :pre
print str :pre
str1,str2,...,strN = one or more text strings to print, which may contain variables :ul
str1 = text string to print, which may contain variables :ul
[Examples:]
print Done with equilibration
print The system volume is now $v
print "Done with equilibration"
print Vol=$v
print "The system volume is now $v" :pre
[Description:]
Print one or more text strings to the screen and logfile. The
individual text strings are effectively concatenated into a single
string, and one line of output is generated. Thus the 2nd and 3rd
examples above are equivalent. If variables are included in any of
the strings, they will be evaluated and their current values printed.
Print a text string to the screen and logfile. One line of output is
generated. If the string has white space in it (spaces, tabs, etc),
then you must enclose it in single or double quotes so that it is
treated as a single argument. 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), there are 3 options. First, consider using