I agree with the LOCATE and would also make the string of codes to be 
checked an item in a control file. That way the codes can change without 
modifying the program.

Keith Johnson (DSLWN) wrote:
> Neil suggested using LOCATE rather than INDEX in my example.
>
> [SNIP]
>
> TEST =
> 'AF1':@AM:'CK1':@AM:'CK2':@AM:'GS1':@AM:'H':@AM:'JM':@AM:'LHC':@AM:'MP':
> @AM:'MP3':@AM:'NU1':@AM:'NU2':@AM:'TK1':@AM:'TK2'
> [SNIP AGAIN]
>   


-- 
------------------------------------------------------------------------
Jeff Schasny - Denver, Co, USA
jeff at schasny dot com
------------------------------------------------------------------------
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to