saveACopyAs bug, 7.5d1

New Message Reply Date view Thread view Subject view Author view

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST