What I would do is setup a counter field to then check each position one by one. For example:
MOVE 1 TO START-POS.
MOVE 1 TO NEW-POINTER.
PERFORM UNTIL START-POS >= 16
IF TEXT-FIELD (START-POS:1) >= 0
AND TEXT-FIELD (START-POS:1) <= 9
STRING TEXT-FIELD (START-POS:1)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.