quot;this is a test.lcdoc") then
> answer "A file was created!"
> else
> answer "The file was NOT created."
> end if
> else
> answer "You can read from it now!"
> end if
> end
end if
else
answer "You can read from it now!"
end if
end mouseUp
Please also note that Richmond's example is misleading. If you use
'read from file' without first using 'open file' then regardless of
whether the file exists or not, 'it'
n read from it now!"
end if
end mouseUp
Please also note that Richmond's example is misleading. If you use
'read from file' without first using 'open file' then regardless of
whether the file exists or not, 'it' will always be empty.
___
Thank you, Richmond!
Your help is always appreciated.
JB
> On Apr 2, 2016, at 2:03 AM, RM wrote:
>
> Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
file does
>> not exist it will be created. Is there a way to see
>> if the file exists before opening it? I do not want
>> a file to be created if it does not exist. I guess I
>> could check the creation date and if it was just
>&
I open a file for read or write and the file does
not exist it will be created. Is there a way to see
if the file exists before opening it? I do not want
a file to be created if it does not exist. I guess I
could check the creation date and if it was just
cr
Hi,
there is a file ".."
HTH,
Thierry
2016-04-02 10:48 GMT+02:00 JB :
> If I open a file for read or write and the file does
> not exist it will be created. Is there a way to see
> if the file exists before opening it? I do not want
> a file to be created if it does
Files will do it;
I forget so easily.
JB
> On Apr 2, 2016, at 1:48 AM, JB wrote:
>
> If I open a file for read or write and the file does
> not exist it will be created. Is there a way to see
> if the file exists before opening it? I do not want
> a file to be created if
If I open a file for read or write and the file does
not exist it will be created. Is there a way to see
if the file exists before opening it? I do not want
a file to be created if it does not exist. I guess I
could check the creation date and if it was just
created then delete it but I was
t;http://someSubDomain.on-rev.com/test.txt";)
>
>
> On Fri, May 17, 2013 at 11:12 PM, Roger Eller > wrote:
>
>> You need to know the path, but it's as easy as:
>>
>> if there is a file "c:/test.txt" then
>>answer "file exists"
>&g
ut it's as easy as:
>
> if there is a file "c:/test.txt" then
>answer "file exists"
> else
>answer" file doesn't exist"
> end if
>
> ~Roger
> On May 17, 2013 11:54 PM, "Shawn Blc" wrote:
>
> > How can I chec
You need to know the path, but it's as easy as:
if there is a file "c:/test.txt" then
answer "file exists"
else
answer" file doesn't exist"
end if
~Roger
On May 17, 2013 11:54 PM, "Shawn Blc" wrote:
> How
How can I check the local machine to see if a file exists?
___
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
norm, but far be it
from me to assume anything about your environment.
Bob
On Sep 24, 2012, at 2:47 PM, Magicgate Software - Skip Kimpel wrote:
> Are there permission limitations to see if a file exists within a
> Windows system directory (c:\windows\system32\myfile.dll)?
>
> For
Are there permission limitations to see if a file exists within a
Windows system directory (c:\windows\system32\myfile.dll)?
For some reason I am not getting results returned and my code is being ignored.
Thanks!
___
use-livecode mailing list
use
15 matches
Mail list logo