@@ -59,7 +59,7 @@ z = sin(4.0);
59
59
60
60
### Variable and Function Names, Limits
61
61
62
- Variable and function names are generally case-insensitve , making ` variable ` equivalent to ` vArIaBlE ` .
62
+ Variable and function names are generally case-insensitive , making ` variable ` equivalent to ` vArIaBlE ` .
63
63
64
64
Any text in expressions - starting with either a letter from a to z or an underscore, followed by more of these
65
65
characters and also numbers from 0 to 9 - is first checked to be a built-in function. If it is not a function, the
@@ -81,7 +81,7 @@ in the same way as gmegabuf.
81
81
Note the index must always be written with two digits. ` reg3 ` is _ not_ considered a global variable and will only have a
82
82
local scope as any other variable. The same is true for more digits like ` reg123 ` .
83
83
84
- Same as with gmegabuf, global variables are not necessarily ` 0 ` when a preset is initialized and they can change at any
84
+ Same as with gmegabuf, global variables are not necessarily ` 0 ` when a preset is initialized, and they can change at any
85
85
time when two presets using the same global variables are blended during a transition.
86
86
87
87
### Constants
@@ -121,7 +121,7 @@ Example: `$'a'` converts to `97`.
121
121
122
122
### Operator Precedence
123
123
124
- Operator precedence is defined in a similar way as in C, with the expection of the ` ^ ` operator, which has a different
124
+ Operator precedence is defined in a similar way as in C, except the ` ^ ` operator, which has a different
125
125
meaning in Milkdrop presets (pow() instead of binary XOR).
126
126
127
127
See the [ C precedence table on cppreference.com] ( https://en.cppreference.com/w/c/language/operator_precedence ) for
@@ -176,7 +176,7 @@ if(x > 5,5000,1000)[(sin(y) + 1 * .5) * 1000] = z;
176
176
### Using Parentheses
177
177
178
178
Parentheses can be used to specify a specific order in which operations are executed. Expressions inside parentheses are
179
- always evaluated, and the result of the evaluation is then uses to evaluate any outside expression.
179
+ always evaluated, and the result of the evaluation is then used to evaluate any outside expression.
180
180
181
181
Inside parentheses, using expression lists is also valid. The result is, as described above, the value of the last
182
182
expression in the list. For example, the following expression will use ` 5 ` as the return value:
@@ -515,7 +515,7 @@ level, which can hang up the application.
515
515
### Internal Functions and Aliases
516
516
517
517
The following functions are defined internally, some being aliases to the above functions, others being used as actual
518
- implementations of operators. Deoending on the operator being unary or binary, each function has one or two parameters.
518
+ implementations of operators. Depending on the operator being unary or binary, each function has one or two parameters.
519
519
520
520
- _ aboeq => Operator ` >= `
521
521
- _ above => Operator ` > `
0 commit comments