Apama 10.15.4 | Developing Apama Applications | EPL Reference | Expressions | Using an expression as a statement
 
Using an expression as a statement
Any expression can be used as a statement. If that expression returns a value, that value is discarded. Be careful not to discard a value that may contain important conditions, such as failure, that your program may rely on.
Example:
// Action has a side-effect and a return value we're not interested in
action doSomething() returns integer
{
...
return result;
}

// Expression as a statement, discarding the return value.
doSomething();