home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
TEXTF.ZIP
/
TEXTF.DOC
< prev
next >
Wrap
Text File
|
1989-08-27
|
1KB
|
31 lines
TEXTF by: Arthur Zatarain C'serve # 73417,525
09/24/89
TEXTF is a text file processing package that allows for position seeks
and faster string input from files.
The files in the TEXTF package are a direct adaptation of the RLINE
package developed by Don Strenczewilk, C'Serve [72617,132].
The TEXTF package takes the RLINE routines and makes the primary
data type RFREC into an object. All other operations are the same as RLINE
except for slight changes in the test program. Rather than using the
command line, the sample program TEXTTEST prompts for the file name.
This was done mainly as an exercise in using Objects and TASM, but there
are some advantages I can think of in using ojects here. First, descendent
objects can be easily formed to do special tricks like seek forward and
backward for a specific string. I can use that in my script processor.
After doing the conversion and getting familiar with the WELL DOCUMENTED
asm code, I got to wondering if straight Turbo Blocked I/O could be used
just as well as the ASM code. The end result would be the same. A
new object type could override the present methods with TURBO level
methods for a test. I don't have time right now.
I tried testing with and without virtual methods, and found no speed
diferences on a 200K text file.
Please address any comments to Myself or to Don at the above Compuserve
addresses.