[BUG] write to file
Kay C Lan
lan.kc.macmail at gmail.com
Mon Jan 25 20:25:43 EST 2016
Folks,
Richard has confirmed he's not seeing this on Linux.
Jacque has confirmed the Bug on OS X.
If I can just get a Win user to check I'll then add a Bug report.
So please Win users can you, in the msg box:
>>
>> set the defaultFolder to specialFolderPath("documents")
>> put "trash this file.txt" into tFileName
>> put "This is a test." into URL ("file:" & specialFolderPath("documents") &
>> "/" & tFileName)
>> open file tFileName for update
>> read from file tFileName for 2 words
>> put it into tResult
>> write "open/read/write/close" to file tFileName
>> close file tFileName
>> put URL ("file:" & specialFolderPath("documents") & "/" & tFileName) into
>> msg
>> put cr & tResult after msg
>>
>> I was expecting:
>> This is open/read/write/close
>>
>> What I'm getting:
>> This is a test.open/read/write/close
>>
>>
More information about the use-livecode
mailing list