From 2375e6b3de396a17cad57d21949b7faf787cecb4 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 30 Apr 2007 23:54:12 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@550 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/if.html | 6 +++--- doc/if.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/if.html b/doc/if.html index 76310bbc71..ff051e55f9 100644 --- a/doc/if.html +++ b/doc/if.html @@ -25,10 +25,10 @@

Examples:

-
if $steps > 1000 then exit
+
if ${steps} > 1000 then exit
 if $x <= $y then "print X is smaller = $x" else "print Y is smaller = $y"
-if $eng > 0.0 then "timestep 0.005"
-if $eng > $eng_previous then "jump file1" else "jump file2" 
+if ${eng} > 0.0 then "timestep 0.005"
+if ${eng} > ${eng_previous} then "jump file1" else "jump file2" 
 

Description:

diff --git a/doc/if.txt b/doc/if.txt index e145463511..565e46169e 100644 --- a/doc/if.txt +++ b/doc/if.txt @@ -22,10 +22,10 @@ command2 = command to execute if condition is not met (optional argument) :ul [Examples:] -if ${steps} > 1000 then exit +if $\{steps\} > 1000 then exit if $x <= $y then "print X is smaller = $x" else "print Y is smaller = $y" -if ${eng} > 0.0 then "timestep 0.005" -if ${eng} > ${eng_previous} then "jump file1" else "jump file2" :pre +if $\{eng\} > 0.0 then "timestep 0.005" +if $\{eng\} > $\{eng_previous\} then "jump file1" else "jump file2" :pre [Description:]