OE10.B and OE10.C treats "lookup" differently

Dear All,

LOOKUP( "," , "$,%,>,z,~,,.,9" ) returns 7 in OE10.B and 0 in OE10.C (SP4).

Is this a known issue? Are there any workarounds for this in the startup or do I have to change the delimiter to something other than the comma.

Please let me know if anyone of you faced the same problem.

Thanks
Joel
 
I tried your lookup in 9.1c and it returned 7 also. Also tried lookup for a period and it also returned 7. You can use index and it will return the proper position (5) . display index( "$%>z,.9", "," ).
 
Try it in OE 10.1C. The problem is we are migrating from 10.1B to 10.1C. So we don't know in how many places these lookups are used in the code.
 
It also returns 0 in 10.2a.

Looks like a bug to me. Changing the delimiter is probably your only viable option.
 
It also returns 0 in 10.2a.

Looks like a bug to me. Changing the delimiter is probably your only viable option.

Confirmed with 10.2A1P too. I found it but, unfortunately didn't have the inspiration to stamp it as a bug. Solved it by using INDEX where coudn't use LOOKUP.
 
Back
Top