Overview
Expressions contain brackets that contain set of arguments. The arguments are separated by commas. Expressions can also include:
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Tip |
---|
To assign a string, it must be enclosed in:
When working with strings, be aware that some characters have special meaning. You need to use an escape character for strings that include special characters; see Text Expressions and Escape Characters. |
In PhixFlow, you can create your own variables using a $ symbol, for example $variableName
; see Using Variables.
Adding Comments
It is always a good idea to add comments to your scripts to explain its steps. Comments help anyone who needs to modify the script in future.
There are two ways to tell PhixFlow that a line is a comment, and can be ignored.
//
short comments up to 1 line
/* <comment> */
For some examples of using comments, plus other style tips for expressions, see Expression Style.
Using Functions
; see Functions. These functions contain arguments, which may be one of the following:- a simple integer or string
- another expression
- one of the /wiki/spaces/HELP80/pages/1456964453
- Regular Expressions, to match patterns within strings or arrays.
The help page for each function explains what PhixFlow expects for a specific argument.
- for and $-variablesThe value of an expression that is used, is the value of the Expressions and Scripts topic page for links to more information.