Does anybody have any experience using SCANWC in MI? Looking to find the first character *not* matching a specific value.

"James H. H. Lampert via C400-L" <[email protected]> Thu, 12 Oct 2023 12:56:51 -0700
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
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.