Hi all,
I never really understood the reason why a <print m> shows _all_ values
in case m is a matrix or a series object. However, in case m is a string
array things depend on the length of m: If nelem(m) < 10, the print
command prints all values, otherwise none. Try this:
<hansl>
scalar n = 11
strings S = array(n)
loop i=1..n
S[i] = sprintf("foo_%d", $i)
endloop
print S # no values are shown
print S --range=2:11 # values are shown
</hansl>
This looks inconsistent to me but maybe there are arguments for it which
I can't see. If you agree, I would rather plead for printing per default
all values also for string array objects.
Best,
Artur
Show replies by date