We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f82c6 commit 705e67cCopy full SHA for 705e67c
goml-script.md
@@ -66,11 +66,16 @@ store-value: (effect, ":hover")
66
set-text: ("element" + |variable|, "something " + 2 + " something else")
67
```
68
69
-Rules of concatenation are simple: if any of the element is a string, then it'll concatenate as a string. Examples:
+Operations are handled from the left to the right. Operations between parens are performed first:
70
71
```ignore
72
-1 + 2 + "a" // gives string "12a"
73
-1 + 2 // gives number 3
+1 + 2 + "a" + (4 * 3)
+// first the parens
74
+1 + 2 + "a" + 12
75
+// then from left to right
76
+3 + "a" + 12
77
+"3a" + 12
78
+"3a12"
79
80
81
This is just a sub-part of expressions which allow more things.
0 commit comments