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 19:02, 16 September 2021
, 2 years agono edit summary
(Add a variable to a class instance at runtime) |
No edit summary |
||
Line 1,922:
magpie = 7
wren = 8
</pre>
=={{header|XBS}}==
<lang xbs>set Object = {}
Object:Hello = "World";
log(Object.Hello);</lang>
{{out}}
<pre>
World
</pre>
|