Here is a small example of how to dynamically define a proc:
# get/set the values
set day_values "aaa bbb ccc"
set myproc "
proc myproc {} {
puts \"The day's values are: $day_values\"
}
"
eval $myproc
The values get hardcoded into the proc.