charmdream
Programmer
Is there any method that I can run a tcl/tk procedure (may take long time) in background, so that other procedures can be executed at the same time?
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
set h [open a_huge_file]
pack [text .text]
while {![eof $h]} {
set line [gets $h]
# some extra work with line
.text insert end $line\n
.text see end
update
}
close $h