× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mark,

Are you saying you're parsing the QSEV by hand?  Why not use
an API, wrapper, etc instead of doing this by hand?

If that's not possible, the null should help you, not
hinder.  It signals the end of the string.  So you can
easily scan for the null, then get the length of the QS and
substring it into a temp variable.

Then again, maybe I misunderstood?

Brad
www.bvstools.com

On Mon, 7 Oct 2002 11:54:45 -0400
 MWalter@hanoverwire.com wrote:
> At which point is the Environment variable Query_string
> null terminated.  I
> have to parse this string manually and the X'00' is
> giving me headaches.
> The current hack is just to:
>
> C     x'00':x'40'     Xlate      string         string.
>
> Not very elegant and I'm afraid this will bite me
> sometime in the future.
>
>
> Thanks,
>
> Mark
>
>
> Mark Walter
> Sr. Programmer/Analyst
> Hanover Wire Cloth a div of CCX, Inc.
> mwalter@hanoverwire.com
> http://www.hanoverwire.com
> 717.637.3795 Ext.3040
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
>

Bradley V. Stone
BVS.Tools
www.bvstools.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.