...
Note that if you want to assign a string value (as in the last example) then the characters must be enclosed in either single 'Hello' or double "Hello" quotes.
Parameter
...
Types
Anchor | ||||
---|---|---|---|---|
|
When writing expressions it is important to consider the type of the result. For example, if you have written a Stream Attribute expression to return the integer 3 but have defined the type of the Stream Attribute to be a String then PhixFlow will stop and report the error when the expression is evaluated. The full list of types handled by PhixFlow is shown below. It's not necessary to understand the meaning of the individual types at this stage, however just be aware that the different types exist.
Type | Description |
---|---|
Array | A list values, e.g. [1,2,3]. For details about what other values arrays can hold and Array handling in general see Arrays and Record Sets. |
Date | A date. For details about date manipulation functions go to Date Functions. |
Datetime | A date and time. For details about date manipulation functions go to Date Functions. |
Float | A floating point number, e.g. 3.2 or 3.0 or 0.0 |
Integer | An integer, e.g. 3 or 0 |
Number | An integer or floating point number |
String | A string value, e.g. "Hello" or the empty string "" |
Boolean | A logical value of either true or false. Note that any non-null, non-zero value is treated as true |
Regular Expression | Regular Expressions allow string patterns to be expressed. See Regular Expressions Regexp ToDelete for more details |
Assigning values from a Pipe
...