Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Object "names" ?

From: moliad:gma:il at: 29-May-2009 0:34

kai when you add the objects, you aren't adding the word which refers to the object, you are adding the objects themselves. if you need the words which refer to the objects instead try this: template: make object! [ count: 0 ] a: make template [] b: make template [] c: make template [] objs: [a b c] probe objs foreach item objs [print item probe get item] but the above can be problematic in some circumstances, so it depends on the context of how/when you are using the above. -Max On Thu, May 28, 2009 at 9:22 PM, Kai Peters <kpeters-otaksoft.com> wrote: