A command enclosed in square brackets represents the value which is returned when this command is evaluated. This is the usual way to create nested commands:
set a [expr 3 + 2] set b [expr [lindex $list 5] - 1]