DCode
Covers Engine 2.0.0
Context Variables
Values supplied by the engine only in the runtime blocks and handlers where they are meaningful.
| Feature | Family | Syntax | Available in |
|---|---|---|---|
| current_state | State Machine | current_state | State handlers |
| current_value | Calculation | current_value | Channel calculations |
| elapsed_seconds | Timing | elapsed_seconds | Timed handlers |
| lateness_ms | Timing | lateness_ms | Missed-release handlers |
| missed_count | Timing | missed_count | Missed-release handlers |
| new_value | Calculation | new_value | Channel calculations |
| state | Runtime State | state.<name> | Runtime block bodies, Shared helper functions |
| states | State Machine | states.<declared_name> | State-machine bodies |
| target_state | State Machine | target_state | State handlers |
| value | Calculation | value | Channel calculations |