From 10fdcc422b6243db2bd639503d5e6d248b780a53 Mon Sep 17 00:00:00 2001 From: twanvl Date: Wed, 9 Jul 2008 21:55:52 +0000 Subject: [PATCH] documented precedence of ^ operator git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1017 0fc631ac-6414-0410-93d0-97cfa31319b6 --- doc/script/operators.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/script/operators.txt b/doc/script/operators.txt index 6f940f59..5f4965a7 100644 --- a/doc/script/operators.txt +++ b/doc/script/operators.txt @@ -40,8 +40,8 @@ It is also possible to compare values. All comparisons evaluate to either @true@ @"x" <= "y"@ Is a less than b or are they equal? | @a >= b@ @2 >= 1@
@"x" >= "x"@ Is a greater than b or are they equal? -| @min(a,b)@ @min(1,2) == 1@ Returns the smallest of two values. -| @max(a,b)@ @max(1,2) == 2@ Returns the largest of two values. +| @min(a,b)@ @min(1,2) == 1@ Returns the smallest of two or more values. +| @max(a,b)@ @max(1,2) == 2@ Returns the largest of two or more values. --Booleans-- [[type:Boolean]]s (for example from comparisons) can be combined using: @@ -67,6 +67,7 @@ The exact order of precedence is given in the following table, higher in the table means that this operator binds tighter to its arguments, @*@ binds tighter then @+@. | @a(...)@, @a.b@, @a[b]@ Function calls, property access, see below | @-a@, @not@ Unary operators +| @^@ Exponentiation | @*@, @/@, @div@, @mod@ Multiplication and division | @+@, @-@ Addition and substraction | @==@, @!=@, @<@, @>@, @<=@, @>=@ Comparisons