Re: Does anybody have any experience using SCANWC in MI? Looking to find the first character *not* matching a specific value.
Mark Waterbury <[email protected]> Thu, 12 Oct 2023 20:03:57 +0000 (UTC)
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
James,
This old manual: https://public.dhe.ibm.com/systems/power/docs/systemi/v6r1/en_US/sc092418.pdf
has example code that uses SCANWC ...
Hope that helps,
Mark S. Waterbury
On Thursday, October 12, 2023 at 03:57:15 PM EDT, James H. H. Lampert via C400-L <[email protected]> wrote:
I'm looking to scan a string of characters, and find the first one
that's *not* an EBCDIC '0' (x'F0'), and from the looks of it, SCANWC
could do it in one MI instruction . . . if I had more than a vague idea
how to use it.
Anybody know of an example, in MI?
Or
--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.
--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.