Reflection/List properties: Difference between revisions

m
(Lingo added)
Line 84:
cnt = obj.count
repeat with i = 1 to cnt
put obj.getPropAt(i)&" = "&obj[i]
end repeat</lang>
 
{{Out}}
<pre>
-- "bar = 42"
-- "foo = 23"
</pre>
 
Anonymous user