Add a variable to a class instance at runtime: Difference between revisions
Content added Content deleted
Line 259:
}
#symbol Program =
[
#var anObject := 234.
// adding a field
anObject := anObject
anObject
'program'Output << anObject << ".foo=" << anObject foo.
'program'input get.
].</lang>
=={{header|Falcon}}==
|