On Jan 27, 2012, at 1:57 AM, Takashi Yoshino wrote:
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
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
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
Hi,
I use LiveCode 5.0.2 for Android devices.
I would like to store some data in my stack.
But I don't know how to store some data in my stack on an android device.
At first, I used a field. But the field data is gone at the next launches.
Next, I tried to use file.
The following are the test
Konichi-wa Takashi,
Am 25.01.2012 um 16:19 schrieb 吉野 孝:
Hi,
I use LiveCode 5.0.2 for Android devices.
I would like to store some data in my stack.
But I don't know how to store some data in my stack on an android device.
At first, I used a field. But the field data is gone
is shown in field msg
On 2012/01/26, at 0:33, Klaus on-rev wrote:
Konichi-wa Takashi,
Am 25.01.2012 um 16:19 schrieb 吉野 孝:
Hi,
I use LiveCode 5.0.2 for Android devices.
I would like to store some data in my stack.
But I don't know how to store some data in my stack on an android
Hi Takashi,
Am 25.01.2012 um 16:56 schrieb 吉野 孝:
Hi, Klaus
Thank you for your quick reply!
I changed my script, but it does not work on an android.
(It does work on my mac.)
The following are the test script.
(URL is very easy! thanks)
- Write button
on mouseUp
put fld Data
Hi Takashi,
put fld Data into URL(file: specialFolderPath(documents)
/ testFile.txt)
I notice that you have two different kinds of quotes in the above. If
that is your actual code, those non-programmer's quote might be the
problem.
robert
They all look good to me. Something must have converted them.
Bob
On Jan 25, 2012, at 10:39 AM, Robert Brenstein wrote:
Hi Takashi,
put fld Data into URL(file: specialFolderPath(documents) /
testFile.txt)
I notice that you have two different kinds of quotes in the above. If that
Hi, Klaus
Thank you for your help!
- Read button
on mouseUp
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!
On 1/25/12 6:05 PM, Takashi Yoshino wrote:
- Read button
on mouseUp
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
Did someone succeed in writing a file on android?
I have done it. I'm not sure why your code doesn't work, it's very much like
mine. Did you write a file first before you tried to read it?
Yes. I wrote a file first, then read it.
I give up this problem...
_.__ ._ _. ._ ._.__ .. ._._.
12 matches
Mail list logo