If all the files are in the same directory, use OPENPATH to open the directory
into a common variable (if it's not already open), then use READV with 0 as the
field number.
FUNCTION DOODLE(DIRPATH,FILENAME)
COMMON /DOODLE/FILEVAR
IF FILEINFO(FILEVAR,0)
ELSE
OPENPATH (DIRPATH) TO FILEVAR ELSE FILEVAR = 0
END
READV TEST FROM FILEVAR,(FILENAME),0
THEN RETURN("Yes")
ELSE RETURN("No")
END
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
- [U2] test for a unix file? Scott Ballinger
- Re: [U2] test for a unix file? Craig Bennett
- Re: [U2] test for a unix file? doug chanco
- RE: [U2] test for a unix file? Jef Lee
- RE: [U2] test for a unix file? David A. Green
- Re: [U2] test for a unix file? Scott Ballinger
- RE: [U2] test for a unix file? Bill Haskett
- Re: [U2] test for a unix file? doug chanco
- Re: [U2] test for a unix file? Ray Wurlod
