State Machine, Programming, Low Code, Computer Science, Automata.
#StateVariableDemo3() // counter == 0 // Increment the state variable 3 times demo.inc() demo.inc() demo.inc() // counter == 3 // Transition back into $Start. demo.transition() // counter == 0 demo.inc() // counter == 1 } #StateVariableDemo3 -interface- inc transition -machine- $Start // State