From: Craig B Upright (cupright@Princeton.EDU)
Date: 10 Mar 01, 05:43 EST
From: Craig B Upright <cupright@Princeton.EDU>
Subject: saveACopyAs bug, 7.5d1
Here's the end of a trace for saveACopyAs. Selecting "Save" does not
save. If attempting to over-write an existing file, the old one is
deleted, but not replaced. Let me know if you want the full trace.
-- Craig
______________________________________________________________
lindex '{Macintosh HD:Desktop Folder:dummy.txt} {Macintosh
HD:Desktop Folder:dummy.txt2}' '0'
lindex OK: Macintosh HD:Desktop Folder:dummy.txt
switch '--' 'Macintosh HD:Desktop Folder:dummy.txt' '
"-force" {
incr i
set force 1
}
"--" {
incr i
break
}
default {
break
}
'
break
break OK:
switch OK:
while OK:
if '$force && [file exists [lindex $args end]]' '
file delete [lindex $args end]
'
if ERROR: can't read "force": no such variable
switch ERROR: can't read "force": no such variable
file ERROR: can't read "force": no such variable
if ERROR: can't read "force": no such variable
if ERROR: can't read "force": no such variable
saveACopyAs ERROR: can't read "force": no such variable
_______________________________________________
AlphaTcl-developers mailing list
AlphaTcl-developers@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/alphatcl-developers