Block
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.
Evaluate a sequence of expressions in a local scope, sequentially. Each operand is evaluated in order; later operands observe side effects (Assign, Declare) of earlier operands. The block's value is the value of the last expression. Short-circuiting heads (Return, Break, Continue) terminate the sequence early.
IMPORTANT — consumers translating simultaneous action tuples (e.g. Desmos (a → 1, b → a + 1) where b reads the pre-action a) must rewrite to a snapshot-then-commit Block: bind each RHS to a fresh temp first, then assign the temps to the LHS symbols. See https://cortexjs.io/compute-engine/reference/control-structures/ for the canonical recipe.
Block(unknown*) -> unknownas compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
(unknown*) -> unknown | compute-engine | always |