[REBOL] Object "names" ?
From: kpeters::otaksoft::com at: 28-May-2009 18:22
Thanks guys - here's another question:
template: make object! [ count: 0 ]
a: make template []
b: make template []
c: make template []
objs: []
append objs a
append objs b
append objs c
probe objs
[make object! [
count: 0
] make object! [
count: 0
] make object! [
count: 0
]]
== [make object! [
count: 0
] make object! [
count: 0
] make object! [
count: 0
]]
>>
Now I want to cycle though the objects in the objs block and print their names:
foreach obj obs [ print ???? ]
I cannot seem to get at it - but find has no problems finding them by 'name'
as in
probe first find objs a
TIA
Kai