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

  1. ********************
  2.  
  3. FUNCTION Dec_array
  4.  
  5.    PARAMETERS _afile
  6.  
  7.    IF PCOUNT() != 1
  8.       RETURN(0)
  9.    ELSEIF TYPE("_afile") != "C"
  10.       RETURN(0)
  11.    ENDIF
  12.  
  13.    IF EMPTY(AT(".", _afile))
  14.       _afile = _afile + ".ARR"
  15.    ENDIF
  16.  
  17.    RETURN( IF( !FILE(_afile), 0,  VAL(SUBSTR(MEMOREAD(_afile), 5))) )
  18.  
  19. * End of File
  20.  
  21.  
  22.