Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
file_exist
return 1 if filename exists, 0 if not
file handling
file_exist(filename)
filename: name of file
none
none
1 if filename exists, 0 if not
none
none
one LUN is temporarily used
none
an attempt to open the file with a read is undertaken, if the attempt succeeds, the file exists.
if (file_exist("/etc/services")) then begin print,'/etc/services exists' endif
Version 1.0, 1997/10/06, Joern Wilms
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]