Add a variable to a class instance at runtime: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m →{{header|REBOL}}: Remove vanity tags |
|||
Line 340: | Line 340: | ||
} |
} |
||
public program |
public program |
||
[ |
[ |
||
var anObject := 234. |
var anObject := 234. |
||
Line 351: | Line 351: | ||
console printLine(anObject,".foo=",anObject foo). |
console printLine(anObject,".foo=",anObject foo). |
||
console readChar |
console readChar |
||
] |
]</lang> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |