home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
turbopas
/
posbm.arc
/
POSBM.DSC
< prev
next >
Wrap
Internet Message Format
|
1989-06-14
|
942b
From: David Kirschbaum <kirsch@braggvax.arpa>
To: w8sdz@wsmr-simtel20.army.mil
Re: POSBM.ARC description
Here's a replacement for the Turbo Pascal (v4.0 and v5.0) POS()
function that I typed in from a recent Dr. Dobbs Journal.
While I was at it, I added code to create a more specific new function
that just does single-character searches within a string.
Included in the package are the assembly language source files, the
compiled .OBJ files (ready for inclusion in a Turbo Pascal program),
and a test Turbo Pascal program (source).
Files include:
POSBM.ASM String search using Boyer-Moore algorithm
POSBM.OBJ The above, compiled
POSCH.ASM World Famous Toad Hall character search
POSCH.OBJ The above, compiled
POSBM.PAS Turbo Pascal test program source
One-liner:
Turbo Pascal POS() replacement
Regards,
David Kirschbaum
Toad Hall