open file tFile for text ?

Thierry Douez th.douez at gmail.com
Tue Aug 19 04:43:53 EDT 2014


>
> I see no mistake here. Where do you see a problem exactly?
>

( copy/paste few lines only)
Here:

mouseUp
   local tFile
   put specialFolderPath("desktop")  & "/test.txt" into tFile
   open file tFile for text

   write "one 222" to file tFile -- Writes to the start of the file



>> Thanks Mark,
>>
>> So you agree with me there is a wrong statement
>> in the dictionary: "write to file"
>>




More information about the use-livecode mailing list