Hi,

Am Fre, 2002-03-15 um 17.24 schrieb [EMAIL PROTECTED]:
> After some tests, I discovered I could create a block (dinamically, at 
> runtime) and use this to create a layout.
<...>
> But how can I do to assign a different 
> variable to every radio-button (see the hypotetical result below):
> 
> var1: radio label "test 1" return
> var2: radio label "test 2" return
> var3: radio label "test 3" return
> 
> I cannot create var...

I'm sure someone will come up with some better ideas, but this should
give you some ideas:

>> b: []
== []
>> for i 1 10 1 [ 
      append b compose [ 
         (to-set-word join "var" i) text (join "var" i)
      ]   
   ]
== [var1: text "var1" var2: text "var2" ... ]
>> view layout b
>> var2/text
== "var2"


I hope that helps

Ingo

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to