Add a variable to a class instance at runtime: Difference between revisions

Content added Content deleted
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.24:
<lang elena>import extensions.
 
Line 340:
}
 
public program =
[
var anObject := 234.