Assignment
Constructor
<process_id|expression> =: dst
expression
can be any logical or arithmetical expression. dst
must be a property or a list of properties separated by comma.
Action
Copies the result of the left side to the destination property on tree traversal.Predefined children
NoneExample
use core
use base
use gui
_main_
Component root {
Frame f ("f", 0, 0, 400, 400)
f.close ->! mainloop
FillColor fc (Blue)
Int blue (Blue)
Int green (Green)
Rectangle r (50, 50, 100, 70, 5, 5)
FSM fsm {
State st1 {
blue =: fc.value
}
State st2 {
green =: fc.value
}
st1->st2 (r.press)
st2->st1 (r.release)
}
}