Forum OpenACS Development: Re: set variable into an array

Collapse
Posted by Tilmann Singer on
This is normal tcl behaviour: stuff inside curly brackets will not be processed. Unless it is a code block that is being passed again to the interpreter explicitely, like in if { ... } { ... }.

To construct the list you want with substituted variable values, you can do something like that:

array set ref [list [list $user_id $package_id] html [list size 20]]