oh! Thing, in this case, is just an object.. that extends Object.. where
'red_thing' is just a string..
so, myThing's key would just be a string..
that way, i could do something like
myThing := Thing getByKey: 'red_thing' .. or
myThing := Thing getByKey: 'blue_thing'
yes, this will be a global
Hi - comments below
sergio_101 wrote
> During my daily work in another framework, we are able to do something
> very
> handy like so:
>
> myThing := Thing findOrCreateByKey: 'red_thing'.
>
> where the key is some underscored all lower case unique name for an object
> we will be calling all the
During my daily work in another framework, we are able to do something very
handy like so:
myThing := Thing findOrCreateByKey: 'red_thing'.
where the key is some underscored all lower case unique name for an object
we will be calling all the time.
this will return either a new thing with a key o