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 : [email protected] [mailto:[email protected]] 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
