# terms can be: $command , $varname or $bind if {$command!=""} {set term $command } elseif {$varname!=""} {set term $varname } elseif {$bind!=""} {set term $bind} # create the layout # ul items are: syntax,procname,description,value,options,returns,module set layout "$term" append layout ""