Aug 3, 2003 #1 waistcoat Programmer Aug 2, 2003 15 CN Hi,all How can I save the present code into a file? Thanks
Aug 4, 2003 #2 ulis Programmer Oct 12, 2001 429 FR Use [info script] to know the name of the current script and save it in a file with [open], [puts] & [close]. The man is here: http://www.tcl.tk/man/tcl8.4/TclCmd/ HTH ulis Upvote 0 Downvote
Use [info script] to know the name of the current script and save it in a file with [open], [puts] & [close]. The man is here: http://www.tcl.tk/man/tcl8.4/TclCmd/ HTH ulis
Aug 7, 2003 #3 ravihasija Programmer Nov 6, 2002 5 US if using vi then do a !wq. Give the filename.tcl as file name. and if using emacs than Cntrl X S to save and Cntrl X C to quit I hope this is what you wnat. Upvote 0 Downvote
if using vi then do a !wq. Give the filename.tcl as file name. and if using emacs than Cntrl X S to save and Cntrl X C to quit I hope this is what you wnat.