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", "," ).
To use more than 9 parameters in a substitute function, make the 9th parameter another substitute function. You can chain these very easily together, although could be difficult to understand. Watch out for unknown values (?) in any of the parameters. One (?) will make the whole returned...
Here is a simple form for ui caps display handled using user defined triggers:
on ANY-PRINTABLE anywhere do:
if lastkey ge 97 and lastkey le 122 then
apply lastkey - 32.
else
apply lastkey.
return no-apply.
end.
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.