Tcl scripting help

Old posts that have not been replied to for several years.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

the_crow wrote:the file remains in :(
I see two possible reasons for this:
1) You're not providing the right path. (check if {[file exists $yourfile]} before you try to delete it and add a warning message if it doesn't exist.)
2) You forgot to close the file/don't have permission to delete it for some other reason. (this should cause an error)
Locked