Scripting reference · Nerdamer Language
block
Evaluates a sequence of Nerdamer Scripting expressions in order.
block evaluates its deferred arguments from left to right and returns the final completed result. return, break, and continue are allowed to propagate to the enclosing function or loop boundary.
At the outer parser boundary, an escaping return supplies the block result.
Examples
These examples use Nerdamer Scripting.
Run assignments in sequence and return the last value.
block(x:2,y:3,x+y)
// → 5Stop at a return value.
block(return(7),9)
// → 7Interfaces
The same operation is available through the interfaces below.
Nerdamer Scripting
Use this form in Nerdamer Scripting input passed to nerdamer(...).
block(...)
Parameters
expression— One or more deferred expressions evaluated in sequence.
