Update tcl.html.markdown (#2640)

Fixed fold example to return actual result instead of the word "res"
This commit is contained in:
siva008 2017-01-29 00:15:03 +05:30 committed by ven
parent 05e4c41cb3
commit c65e45121a

View File

@ -268,7 +268,7 @@ proc fold {cmd args} {
foreach arg $args {
set res [$cmd $res $arg]
}
return res
return $res
}
fold ::tcl::mathop::* 5 3 3 ;# -> 45