AMOSi:Exist

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-4/Help_44.AMOS


Checks to see if a specific file or directory actually exists. If it's available, you'll get a value of True (-1). Otherwise you'll get a zero instead.


test=Exist("pathname")
test=Exist("filename")