Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
eedd1faf
Commit
eedd1faf
authored
Jul 09, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documented precedence of ^ operator
parent
9354ddf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
doc/script/operators.txt
doc/script/operators.txt
+3
-2
No files found.
doc/script/operators.txt
View file @
eedd1faf
...
@@ -40,8 +40,8 @@ It is also possible to compare values. All comparisons evaluate to either @true@
...
@@ -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?
@"x" <= "y"@ Is a less than b or are they equal?
| @a >= b@ @2 >= 1@<br/>
| @a >= b@ @2 >= 1@<br/>
@"x" >= "x"@ Is a greater than b or are they equal?
@"x" >= "x"@ Is a greater than b or are they equal?
| @min(a,b)@ @min(1,2) == 1@ Returns the smallest 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 values.
| @max(a,b)@ @max(1,2) == 2@ Returns the largest of two
or more
values.
--Booleans--
--Booleans--
[[type:Boolean]]s (for example from comparisons) can be combined using:
[[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,
...
@@ -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 @+@.
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(...)@, @a.b@, @a[b]@ Function calls, property access, see below
| @-a@, @not@ Unary operators
| @-a@, @not@ Unary operators
| @^@ Exponentiation
| @*@, @/@, @div@, @mod@ Multiplication and division
| @*@, @/@, @div@, @mod@ Multiplication and division
| @+@, @-@ Addition and substraction
| @+@, @-@ Addition and substraction
| @==@, @!=@, @<@, @>@, @<=@, @>=@ Comparisons
| @==@, @!=@, @<@, @>@, @<=@, @>=@ Comparisons
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment