home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Try2open
-
- PARAMETERS _iof, _ioh
-
- IF PCOUNT() != 2
- RETURN(.F.)
- ELSEIF TYPE("_iof")+TYPE("_ioh") != "CN"
- RETURN(.F.)
- ENDIF
-
- * _iof is the file to try to open
- * _ioh is passed by REFERENCE!!
-
- IF EMPTY(_iof)
- RETURN(.F.)
- ENDIF
-
- _ioh = FOPEN(_iof)
- RETURN( ( FERROR() = 0 ) )
-
- * End of File
-
-