It is recommended that you begin using the new script-free nodes, such as the Filter, Sort and Aggregate nodes. If you need to use scripting for advanced use cases, you can use Python script to further tailor these nodes.
If you are still using deprecated nodes in your graphs while you begin to transition to use the new Python-based nodes, it is important to be aware of the following changes to the BRAINscript language in Data360 Analyze compared to LAE:
Feature | Description |
---|---|
Unless operator |
The For example:
This script would now be written using
|
Emit/exclude wildcard |
Emit/exclude wildcard now fails if you use u", r", ur", ru" style strings. Previously, using these strings would produce incorrect results. This affects
Emit wildcard with \x, \u style escapes now correctly passes these through to expert where they are evaluated correctly. Previously, the backslash character was stripped when sending to expert, so \x10 rather than matching the newline (\n) character would match the literal string "10". |
Emit x as y |
Previously, the following two examples would output the value of x under the column name y:
Now, the second example would fail because y has been defined as a variable. The first example would still work because y has not been declared as a variable, so the column name is output as the literal value of "y". |
a==b |
Statements such as
|
group* macros |
The way that groupCount , groupMax , groupMin , groupSum , groupString macros behaves has changed. In general, this will lead to fewer problems with macro usage and reduces the restrictions on when they can be used. |
evalIf |
The first parameter of an If you want to use the comma-notation (',') within For example:
|
do output |
The do output statement can now be used to specify output names, as well as numbers. |
setSuccessReturnCode |
The 203 return code is no longer supported. 203 - Any nodes wired to the output will not execute, but any nodes wired to this node's outclock, or any of the outclocks of any nodes wired to this node's output will trigger. This behavior allows for this node to prevent other nodes from executing on the data, but to allow nodes clocked to a higher composite to still execute as if all nodes were executed. |
Deprecated script functions
If you enter a BRAINscript function that is not recognized, but it is recognized by Expert, then it will still work, however the node will report a warning about the unrecognized function.