Hi I need to lookup for more than one argument in search string something like this:
I want to find the firt position which contain 'A' or 'B' is it possible?
Many thanks
Code:
Dcl-S Array Char(1) Dim(10); Dcl-S Pos Uns(10); *inlr = *on; Array(1) = 'A'; Array(2) = 'B'; Array(3) = 'C'; Array(4) = 'D'; Pos = %Lookup('AB' : Array:2); Dsply %Char(Pos); Return;
Many thanks
Comment