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 15:15, 1 July 2015
, 8 years ago→{{header|Elena}}
No edit summary |
|||
Line 328:
#define extensions.
#class Extender :: BaseExtender
{
#field theField.
Line 344 ⟶ 343:
theField := aValue.
]
}
Line 357 ⟶ 354:
anObject set &foo:"bar".
console readChar.
].</lang>
{{out}}
<pre>
234.foo=bar
</pre>
=={{header|Falcon}}==
|