| Calls and Slot Access | categories Objects, Classes and Slots Updates |
Lists, Sets and Instructions Lists, Sets and Tuples |
Assigning a value to a variable is always done with the operator :=. This applies to local variables but also to the slots of an object. The value returned by the assignment is always the value that was assigned :
| x.age := 10, John.father := mary |
| x.age :+ 1, John.friends :add mary, x.price :min 100 |
| A(x :+ 1) :+ 1 |