home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a075 / 1.img / TOOLKIT1.EXE / SST195.PRG < prev    next >
Encoding:
Text File  |  1989-08-08  |  469 b   |  27 lines

  1. *******************
  2.  
  3. FUNCTION Isa_ntx
  4.  
  5.    PARAMETERS _thefile
  6.  
  7.    IF EMPTY(PCOUNT())
  8.       RETURN(.F.)
  9.    ELSEIF TYPE("_thefile") != "C"
  10.       RETURN(.F.)
  11.    ENDIF
  12.  
  13.    _thefile = IF((EMPTY(AT(".", _thefile))), _thefile + ".NTX", _thefile)
  14.  
  15.    PRIVATE _handle, _retval
  16.  
  17.    _handle = FOPEN(_thefile)
  18.    IF _handle < 0
  19.       RETURN(.F.)
  20.    ELSE
  21.       _retval = IF_NTX(_handle)
  22.       FCLOSE(_handle)
  23.       RETURN(_retval)
  24.    ENDIF
  25.  
  26. * End of File
  27.