if I have a code like this:

f = GetFolderitem("myfile.txt")
WriteToFile = f.CreateAsTextFile <<<<---------------- is the file  
locked now for other apps (in use by my self)?

if WriteToFile <> nil then
WriteToFile.WriteLine("Hello")
WriteToFile.close <<<<---------------------- is the file unlocked now  
(not in use by my self) ?
end if


I ask, because it looks that the file is not closed properly (still  
in use by my self) and my app have to be closed and started agai,  
before I could do a new Save (write over the file)


Sven E
-----------------------
REALbasic 2007R2 OS X 10.4.9 Intel and 10.4.9 PPC



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to