How to store some data in my stack

Ken Ray kray at sonsothunder.com
Thu Jan 26 12:36:26 EST 2012


On Jan 25, 2012, at 10:55 PM, J. Landman Gay wrote:

>>>  put specialFolderPath(“documents”)&  "/"&  “testFile.txt” into tFile
>>>  if there is a file tFile then
>>>    put URL("file:"&  tFile) into fld "Data"
>>>    put the result into fld "msg"
>>> else
>>>  answer "No file yet!"
>>> end if
>>> end mouseUp
>> 
>> "no file yet!" is shown in an android.
>> 
>> 'Write' function can't work, that is,
>>   put fld "Data" into URL("file:"&  specialFolderPath(“documents”)&  "/"&  “testFile.txt”)
>>  is not working on an android.

Are you *really* using curly quotes around "documents" and "testFile.txt"? The only reason I ask is that you have straight quotes around "Data" and "no file yet!", so I figured I'd check. If so, that might be the problem (although I'd think you'd get an error dialog first, but)…

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/	




More information about the use-livecode mailing list