Home
The Toolkit for Online Communities
17104 Community Members, 0 members online, 2207 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

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