Anonymous user
Add a variable to a class instance at runtime: Difference between revisions
Add a variable to a class instance at runtime (view source)
Revision as of 08:28, 27 February 2015
, 9 years ago→{{header|Elena}}
m (omit Clojure) |
|||
Line 326:
ELENA does not support adding a field at run-time but it can be simulated with the help of a group object
<lang elena>#define system.
#define extensions.
#class Extender
Line 356 ⟶ 357:
anObject set &foo:"bar".
console readChar.
|