- Output field: Returns a system user property, or assigns system user property with a value, or executes a system user method.
<u>property = expression</u>
The u element works exactly same as "user" element except it handles system user object
Return the value of JS code "u.property," which is defined under Properties, Codes tab.
property = expression
Calculate the BrainXML expression right to the equation mark; set the value of u.property as the result, in other words, execute JS code "u.property = result;"; and finally return the result.
Increases the value of property by 1 and returns the result. This only works for integer. If the property is not an integer, the property is returned as-is.
Decreases the value of property by 1 and returns the result. This only works for integer. If the property is not an integer, the property is returned as-is.
Execute JS code "u.method(args);" and return the result. Depending on how the method is defined and used, the args can be empty or several comma separated arguments. The method must be pre-defined under Methods, Codes tab.
Example 1. Set and get a system user property
- I like *
I like <u>like = <s/></u> too!
- What I like
You said you like <u>like</u>.
- I like pizza
- I like pizza too!
- What I like?
- You said you like pizza.
Example 2. Execute system user method
- Hi, Tom!
- You cannot modify system user object. However you can create your own custom user object and invoke it with "user" element.