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

[REBOL] getting dynamically to object word ...

From: petr:krenzelok:trz:cz at: 23-Jan-2003 14:33

Hi, let's suppose I have dynamically generated UI ... now I need to create some function to iterate thru UI elements and get their values. I found following way works, but I have two questions ... for i 1 7 1 [for j 0 4 1 [print do join 'fld [i j "/text"]]] I simply have fld10, fld12, fld13, fld14 .... fld74 ... 1) Is it safe to use 'do? 2) Is there any other way of how to dynamically compose name of already existing object and get to its words using 'in? Thanks a lot, -pekr-