TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: DAVE NAVARRO
from: BRIAN MCLAUGHLIN
date: 1996-02-14 17:55:00
subject: RE:Parsing function

DN>BM>Here's some PowerBASIC 3.x code written by James Davis that everyone
DN>BM>will find useful sooner or later. It's a function for parsing a string
DN>BM>into tokens, based on a set of delimiters you supply.
DN>BM> FUNCTION Parse$(Temp$, Delim$)
DN>Hmm, that code has a familiar look to it.... 
Gee, Dave, I'm sorry if I misattributed your code. It came to
me through an echo/conference/newsgroup and it had James' name
attached to it by Dave Williams, so I figured Dave knew...
I generally use a parsing function I wrote in inline asm that
doesn't destroy the original string and is much faster. However,
lots of folks prefer to have their code in straight BASIC, so
I u/l this one for them.
BTW, registered users of MAXLIB get the inline asm version as a
bonus, along with nine other asm routines (plug!).
Cheers,
Brian M.
 * SLMR 2.1a * MAXLIB For PB v1.2 - Access arrays and files in EMS/XMS!
--- WILDMAIL!/WC v4.12 
---------------
* Origin: Com-Dat BBS - Hillsboro, OR. HST DS (1:105/314.0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.