exists

Damien Girard dam-pro.girard at laposte.net
Sat Dec 11 18:11:54 EST 2010


Exists if for Livecode objects, to check the presence of a file use "there
is".

if there is "ABC.jpg" then
-- do something
end if

Kind Regards,

Damien Girard
NativeSoft, France.

-----Message d'origine-----
De : use-livecode-bounces at lists.runrev.com
[mailto:use-livecode-bounces at lists.runrev.com] De la part de Richmond
Envoyé : samedi 11 décembre 2010 23:54
À : How to use LiveCode
Objet : exists


I wonder why this does NOT work:

if exists(file: "ABC.jpg") is true then
    ---do something
end if

how do I check if a file is present or not?
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list