The Toolkit for Online Communities
18830 Community Members, 0 members online, 1875 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : set variable into an array : One Message

Forum OpenACS Development: Re: set variable into an array

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]]