set n 1 set i 1 while {[incr i]<=1e3} {set n [expr {$n*$i}]} puts $n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page