home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Looklogic
-
- PARAMETERS _file
-
- IF PCOUNT() != 1
- RETURN(.F.)
- ELSEIF TYPE("_file") != "C"
- RETURN(.F.)
- ELSEIF !FILE(_file)
- RETURN(.F.)
- ENDIF
-
- PRIVATE _fhandle, _temp
-
- _fhandle = FOPEN(_file, 2)
-
- FSEEK(_fhandle, -6, 2)
- _temp = FREADSTR(_fhandle, 4)
- FCLOSE(_fhandle)
- RETURN( (_temp = "SJSL") )
-
- * End of File
-