
285
APPENDIX
A
A FXScript Reference
This appendix lists all the commands and functions in the FXScript language. These are
grouped by the FXBuilder submenu they appear in. Each command includes information
about its syntax, any parameters it requires, and any special information about its use.
When creating a script, you can place command templates into an FXBuilder Text Entry tab
by choosing them from the FXBuilder menu.
Scripting Parameters
Many FXScript commands require parameters for the calculations they perform. These have
names that indicate their uses. Any parameter required by FXScript functions and commands
can be replaced by a variable, as long as the variable is of the correct data type and has been
correctly declared elsewhere in the script. Some functions and commands can use numeric
parameters as well as variables.
Expressions in FXScript
Expressions are like phrases made up from scripting words, numbers, and operators,
together with parentheses. The operators determine what sort of calculation or evaluation
(also known as an operation) is done, and the parentheses determine the order in which
calculations are performed.
The rules are as follows:
m An expression is interpreted from left to right.
m Multiplication and division take precedence over addition and subtraction.
m Parts of the expression that are enclosed in parentheses are given priority over parts that
are outside the parentheses. If there are several layers of parentheses, the expression is
evaluated in order from the innermost parentheses to the outermost.
Komentáře k této Příručce