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 12:53, 11 May 2018
, 6 years ago→{{header|Elena}}
m (Lingo added) |
|||
Line 327:
ELENA does not support adding a field at run-time but it can be simulated with the help of a mix-in.
ELENA 3.
<lang elena>import extensions.
Line 340:
}
public program =
[
var anObject := 234.
|