Anonymous user
Reflection/List properties: Difference between revisions
m
→{{header|Elena}}
Walterpachl (talk | contribs) m (→{{header|ooRexx}}: a note on the type of ...) |
|||
Line 53:
=={{header|Elena}}==
Using a special property type - dto_prop.
ELENA 3.
<lang elena>import system'routines.
import extensions.
class MyClass
{
Line 62:
literal dto_prop Y :: y.
}
[
var o := MyClass::
{
@x := 2.
@y := "String".
}.
[
console printLine("o.",p,"=",o~p get).
].
]
{{out}}
<pre>
|