Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Файловые Утилиты    >>    rlinetp
   
 
 RLine - Fast Text Reading Operations   Don Strenczewilk 10.10.1989

Объектно-ориентированный модуль для быстрого буферизованного чтения текстовых файлов. В качестве примера приведена программа SeeMe для просмотра и скроллинга текстовых файлов большого размера (тестировалось на 2,8MB - отлично!).
This unit contains a fast reading object designed for high speed reading standard ASCII disk files.



20k 
 

Fast disk file text reading operations. Address comments, complaints, suggestions on CompuServe to Don Strenczewilk [72617,132] 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.