BM>DN>BM>Here's some PowerBASIC 3.x code written by James Davis that everyone
BM>DN>BM>will find useful sooner or later. It's a function for parsing a
string
BM>DN>BM>into tokens, based on a set of delimiters you supply.
BM>DN>BM> FUNCTION Parse$(Temp$, Delim$)
BM>DN>Hmm, that code has a familiar look to it....
BM>Gee, Dave, I'm sorry if I misattributed your code. It came to
BM>me through an echo/conference/newsgroup and it had James' name
BM>attached to it by Dave Williams, so I figured Dave knew...
BM>I generally use a parsing function I wrote in inline asm that
BM>doesn't destroy the original string and is much faster. However,
BM>lots of folks prefer to have their code in straight BASIC, so
BM>I u/l this one for them.
No problem. I gave that code to James a "long" time ago to do with as he
pleased.
BM>BTW, registered users of MAXLIB get the inline asm version as a
BM>bonus, along with nine other asm routines (plug!).
--Dave
---
* QMPro 1.53 * GUI= [G]enerally [U]seless [I]nterface
--- InterEcho 1.18
---------------
* Origin: Toast House * (314) 994-0312 * (1:100/560)
|