home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / IOFUN.DI$ / FTELL.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  582 b   |  15 lines

  1. %FTELL    Location of the position indicator in a file.
  2. %    POSITION = FTELL(FID) returns the location of the file position
  3. %    indicator in the specified file.  Position is indicated in bytes
  4. %    from the beginning of the file.  If -1 is returned, it indicates
  5. %    that the query was unsuccessful; use FERROR to determine the nature
  6. %    of the error.
  7. %
  8. %    FID is an integer file identifier obtained from FOPEN, or 0 for
  9. %    standard input, 1 for standard output or 2 for standard error.
  10. %
  11. %    See also FOPEN, FSEEK.
  12.  
  13. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  14. %    Built-in function.
  15.