Jump to content

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

m
→‎{{header|REBOL}}: Syntax highlighter defeats REBOL's run from web page semantics. Removed enclosing brackets.
m (→‎{{header|REBOL}}: Syntax highlighter defeats REBOL's run from web page semantics. Removed enclosing brackets.)
Line 330:
=={{header|REBOL}}==
<lang rebol>
[REBOL [
Title: "Add Variables to Class at Runtime"
Author: oofoe
Line 380:
print [crlf "Fighter squadron:"]
forall squadron [probe squadron/1]
]</lang>
 
=={{header|Ruby}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.