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 20:40, 6 March 2017
, 7 years ago→{{header|Elena}}
No edit summary |
|||
Line 325:
=={{header|Elena}}==
ELENA does not support adding a field at run-time but it can be simulated with the help of a
ELENA 3.x
<lang elena>#
{
[
theObject := anObject.
]
[
theField := aValue.
Line 346:
}
[
// extending an object with a field
|