You could append the unevaluated object names in addition too

as in
append append objs 'a a
..

then you can cycle with
foreach [name obj] objs [print name]

Kai Peters wrote:
> 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
>     ]]
> =3D=3D [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 'na=
> me'
>
> as in=20
>
> probe first find objs a
>
>
> TIA
> Kai
>   

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to