|
Does it make any difference when I use SLEN(...) whether or
not I dot the variable being passed?
At the command line, I tested this as follows :
R>SET VAR vMyVariable TEXT="I am 6"
R>SELECT SLEN(vMyVariable),SLEN(.vMyVariable) FROM
MY_SMALL_DUMMY
SLEN (vMyV SLEN (.vMy
---------- ----------
6 6
So, the results are the equal. But is either approach
in-correct or subject to inappropriate results? It seems that I've
encountered, at least once, some sort of what-seemed-to-me anomalous
behavior. Maybe using a dotted var on the left side of flow-control
(IF-THEN, WHILE-THEN, ...) comparison?
Anyway, appreciate any enlightenment, as I'm trying to track
down a whole in some code I'm modifying and I want to definitively move this
issue from the UNKNOWNs to the KNOWNs.
TIA,
Steve in Memphis
|
- [RBASE-L] - Re: SLEN(...) - To Dot or Not? J. Stephen Wills
- [RBASE-L] - Re: SLEN(...) - To Dot or Not? Dennis McGrath

