Скачать RLine - Fast Text Reading Operations

10.10.1989
Скачать файл (21,31 Кб)




This unit contains a fast reading object designed for high speed
    reading standard ASCII disk files.

    The RLINE unit uses about 600 bytes of your programs code space,
    and 0 data.

    All of RLobject's methods return the result of their operation in
    the RFerror field, except for methods: FFilePos and FClose, which
    have no error codes.  RFerror should be checked after each call to
    one of the methods that set it, because it is re-set with each
    method call.


    ------------------------------------------------------------------

README FILE for RLINE.COM archive.

Copyright notice:

    RLINE.COM and all the routines contained in the files in the
    RLINE.COM archive copyrighted by Don Strenczewilk.  The routines
    may be freely used in your own programs and/or distributed, but
    RLINE.COM or any of the routines are not to be sold.



FILES:

UNITS:
RLINE.ASM
	TASM source for the RFobject methods.

RLINE.PAS
	RFobject - low level fast buffered text file reading/seeking object.
	RFextended - adds FileSize, Error string, and Reset.
        FileOfLines - adds indexing and SeekLine.

MOVEOPS.PAS Objects for displaying strings and moving around the screen.
	Rectangle - describes a rectangular area of the screen.
	ScreenR - adds ability to move about in the rectanle.
	Scroller - adds searching and autoscrolling.

READERS.PAS
	Reader - Combines Scroller and FileOfLines Object to allow
                 viewing/scrolling through ascii files.


EXAMPLE PROGRAMS:
RLTEST.PAS - timing comparison between ReadLn/FReadLn, and other tests.
SEEME.PAS  - view/scroll/search through ascii file passed on command line.
OVIEW.PAS  - dual-window Object viewing program, views TP5.5 OOP source
             code. Filename is entered on command line.