Robert A. Rosenberg writes:
Even if the "separate by blanks" format is used, you can still parse them
out (assuming that all the > IDs are 7 bytes long) by just using as
sub-string type operation. All that is needed is to first do a > sanity
check of the length to see that it is one byte shorter than an multiple of
8 (that
length+1/8 gives you your loop count).
Consider now
. . . ,argument='T000000 T000001', . . .
Here k'&argument = 23 and &element_count = (23 + 1)/8 = 3, but the string
contains only two tokens. This and other Rube Goldberg schemes should be
avoided here. A left-to-right lexical breakout is called for.
John Gilmore
Ashland, MA 01721
USA
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html