From 1238f8b68c44c6e877f014efe0400a8d4aa8517d Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 18 Nov 2010 17:53:54 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5263 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/if.html | 4 ++-- doc/if.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/if.html b/doc/if.html index 978d35c13b..a29aa0d10d 100644 --- a/doc/if.html +++ b/doc/if.html @@ -115,7 +115,7 @@ syntax. Note that each expression is a single argument within the if command. Thus if you want to include spaces in the expression for clarity, you must enclose the entire expression in quotes.

-

An expression is built out of numbers +

An expression is built out of numbers:

0.2, 100, 1.0e20, -15.4, etc 
 
@@ -127,7 +127,7 @@ clarity, you must enclose the entire expression in quotes. or another Boolean expression.

If a variable is used it must produce a number when evaluated and -substituted for in the expression. +substituted for in the expression, else an error will be generated.

Expressions are evaluated left to right and have the usual C-style precedence: the 4 relational operators "<", "<=", ">", and ">=" have diff --git a/doc/if.txt b/doc/if.txt index 4ccde3453d..b006a5ebff 100644 --- a/doc/if.txt +++ b/doc/if.txt @@ -111,7 +111,7 @@ syntax. Note that each expression is a single argument within the if command. Thus if you want to include spaces in the expression for clarity, you must enclose the entire expression in quotes. -An expression is built out of numbers +An expression is built out of numbers: 0.2, 100, 1.0e20, -15.4, etc :pre @@ -123,7 +123,7 @@ Each A and B is a number or a variable reference like $a or $\{abc\}, or another Boolean expression. If a variable is used it must produce a number when evaluated and -substituted for in the expression. +substituted for in the expression, else an error will be generated. Expressions are evaluated left to right and have the usual C-style precedence: the 4 relational operators "<", "<=", ">", and ">=" have