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