git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5257 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -114,11 +114,23 @@ underscores, or punctuation characters.
|
||||
line are arguments.
|
||||
</P>
|
||||
<P>(6) If you want text with spaces to be treated as a single argument,
|
||||
it can be enclosed in double quotes. The quotes are removed when the
|
||||
single argument is stored in its final form. See the <A HREF = "dump_modify.html">dump modify
|
||||
format</A> or <A HREF = "if.html">if</A> commands for examples. A "#"
|
||||
or "$" character that is between double quotes will not be treated as
|
||||
a comment indicator in (2) or substituted for as a variable in (3).
|
||||
it can be enclosed in either double or single quotes. E.g.
|
||||
</P>
|
||||
<PRE>print "Volume = $v"
|
||||
print 'Volume = $v'
|
||||
</PRE>
|
||||
<P>The quotes are removed when the single argument is stored internally.
|
||||
See the <A HREF = "dump_modify.html">dump modify format</A> or <A HREF = "if.html">if</A> commands
|
||||
for examples. A "#" or "$" character that is between quotes will not
|
||||
be treated as a comment indicator in (2) or substituted for as a
|
||||
variable in (3).
|
||||
</P>
|
||||
<P>IMPORTANT NOTE: If the argument is itself a command that requires a
|
||||
quoted argument (e.g. using a <A HREF = "print.html">print</A> command as part of an
|
||||
<A HREF = "if.html">if</A> or <A HREF = "run.html">run every</A> command), then the double and
|
||||
single quotes can be nested in the usual manner. See the doc pages
|
||||
for those commands for examples. Only one of level of nesting is
|
||||
allowed, but that should be sufficient for most use cases.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user