|
%Lookup ClarificationI
Chamara Withanachchi
Hi,
I cannot recall this earlier, I'm in a 7.1 box with latest PTFs applied,
have done a %Lookup operation to a array as bellow
D poArr S 6 DIM(9999) ASCEND
C Eval P = 1
C Eval P = %LookUp(Arr1(Idx1) : poArr : P)
When I see the array in Debug mode I can see the search criteria is in
the poArr array, but P become 0 after the %Lookup even though values are
in poArr array
When I removed the ASCEND keyword, P became the element no of the poArr
Array, (%Lookup Success) any idea What I'm I missing here?
--
Regards,
Chamara Withanachchi
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.