Problem with revCopyFile

John Dixon dixonja at hotmail.co.uk
Tue Jun 15 02:09:43 EDT 2010






Thankyou for your reply... 

Yes, the global variable gdefaultfolder has a
 value , it is set when the stack first opens in the preOpenStack 
handler using :-



-----------------------------------------------------------------------------------

global gdefaultFolder



on preOpenstack

   set itemDel to "/"

   put item 1 to -2 of (the effective fileName of this stack) into 
gdefaultFolder

   set the defaultfolder to gdefaultFolder

  

   set the loc of this stack to screenLoc()

end preOpenstack



-----------------------------------------------------------------------------------



I put the following line into the ' mouseUp' handler to see if the 
engine believes the file exists :



put there is a file (gdefaultFolder & "/Bernier Master.rev")   .... it returns true

Still stumped !...

regards,

John Dixon
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now


More information about the use-livecode mailing list