No subject

Gerry Orkin gerry.orkin at gmail.com
Mon Jul 25 02:37:46 EDT 2011


I keep things simple by using these two routines that might work for you:

on writefile fileTowrite,dataTowrite
   set the defaultFolder to specialFolderPath("Documents")
   put dataTowrite into URL (("file:"&fileTowrite&".txt"))
end writefile

function readFromFile whatFile
   set the defaultFolder to specialFolderPath("Documents")
   return URL (("file:"&whatFile&".txt"))
end readFromFile

Gerry


On 25/07/2011, at 12:35 PM, <gwendalwood at cox.net> <gwendalwood at cox.net> wrote:

> Following is my code snippets for files:  




More information about the use-livecode mailing list