> On 17 Apr 2015, at 12:17, Johan Fabry <jfa...@dcc.uchile.cl> wrote: > > > The announcement of 4.0 sais that they work, and we have been using them for > some time in the implementation of Live Robot Programming without issues. > Sorry, I don’t remember where the examples are, Marcus made me one when I > asked about them ;-) Have a look at the LiteralVariable class, I think that > is a good way to start. >
Yes, but we need to distinguish two things 1) Slot “First class instnance variables" See e.g. ExampleSlotWithDefaultValue or ExampleSlotWithState for examples 2) First class globals. This allows class Variables to be use in the same way as slots: you can subclass and change read/write’ for that an example is ExampleClassVariable Marcus