|
Formula editor's allowed syntax: |
||
|
Operators |
||
|
Abbreviature |
Comment |
Example |
| + | addition | a+b |
| * | multiplication | a*b |
| - | subtraction | a-b |
| / | division | a/b |
| ^ | power | a^b |
|
Functions |
||
|
Abbreviature |
Comment |
Example |
| sin | sine | sin(a) |
| cos | cosine | cos(a) |
| tg | tangent | tg(a) |
| ctg | cotangent | ctg(a) |
| sec | secant | sec(a) |
| cosec | cosecant | cosec(a) |
| arcsin | antisine | arcsin(a) |
| arccos | anticosine | arccos(a) |
| arctg | antitangent | arccos(a) |
| exp | exponent | exp(a) |
| sqrt | square root | sqrt(a) |
| ln | logarythm base e | ln(a) |
| log10 | logarythm base 10 | log10(a) |
| log2 | logarythm base 2 | log2(a) |
| neg | negative | neg(a) |
| abs | absolute | abs(a) |
| pi | pi | pi() |
| sum | sum of arguments | sum(a,b) |
| min | minimum | min(a,b) |
| max | maximum | max(a,b) |
| int | integral part | int(a) |
| frac | fractional part | frac(a) |
| IfE | returns 1 if a=b | IfE(a,b) |
| IfL | returns 1 if a<b | IfL(a,b) |
| IfG | returns 1 if a>b | IfG(a,b) |
| IfLE | returns 1 if a<=b | IfLE(a,b) |
| IfGE | returns 1 if a>=b | IfGE(a,b) |
| case | returns b if a=1, else returns c | case(a,b,c) |
| rand | random value (0..1) | rand() |
|
Special (related to FruityLoops) |
||
|
Abbreviature |
Comment |
Example |
| SongTime | song position, in quarters | SongTime() |
| Time | system time, in ms | Time() |
| Tension | same as tension knobs | Tension(Value,Speed) |
|
Gadget (not much useful, just fun) |
||
|
Abbreviature |
Comment |
Example |
| Date | system date | Date() |
| MouseX | mouse cursor X position | MouseX() |
| MouseY | mouse cursor Y position | MouseY() |