From f46b755b9910e9c748299e53950a9139c8bf2c1c Mon Sep 17 00:00:00 2001 From: lahma Date: Mon, 27 Jul 2009 20:28:48 +0000 Subject: [PATCH] Fixed XML for expression documentation --- doc/reference/src/expressions.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/reference/src/expressions.xml b/doc/reference/src/expressions.xml index bfda5125..82f66390 100644 --- a/doc/reference/src/expressions.xml +++ b/doc/reference/src/expressions.xml @@ -379,7 +379,7 @@ bool falseValue = (bool) ExpressionEvaluator.GetValue(ieee, expression);and, or, xor and not. Their use is demonstrated below. Note, that the logical and bitwise operators are the same and their interpretation depends if you pass in integral values or boolean values. // AND -int result = (int) ExpressionEvaluator.GetValue(null, "1 and 3"); // 1 & 3 +int result = (int) ExpressionEvaluator.GetValue(null, "1 and 3"); // 1 & 3 // OR int result = (int) ExpressionEvaluator.GetValue(null, "1 or 3"); // 1 | 3 @@ -389,6 +389,7 @@ int result = (int) ExpressionEvaluator.GetValue(null, "1 xor 3"); // 1 ^ 3 // NOT int result = (int) ExpressionEvaluator.GetValue(null, "!1"); // ~1 +