Hi, Ken > 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)…
Thank you for you help. The problem was resolved for your comment. Quote is bad effect, but no error messages…. Thanks so much. -- Write button on mouseUp put fld "Data" into URL("file:" & specialFolderPath(documents) & SLASH & testFile.txt) end mouseUp -- Read button on mouseUp put URL("file:" & specialFolderPath(documents) & SLASH & testFile.txt) into fld "Data" end mouseUp But Japanese Text does not write correctly both Mac and Android... _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 On 2012/01/27, at 2:36, Ken Ray wrote: > > 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: k...@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode