On Thu, 5 Sep 2013, Sven Schreiber wrote:
it seems list creation is not allowed with the ternary assignment.
(Or
is it just my slightly outdated snapshot, or the fact that one branch
uses 'null', as in 'list hey = step==1 ? null : lags(step,list1)' ?)
Not a really a matter of "not allowed", more of "not hooked up
properly".
That's now fixed in CVS. Test script:
<hansl>
open data9-7
list X = INCOME PRIME
scalar p = 2
list L = p==1 ? null : lags(p,X)
list L print
p = 1
list L = null
list L = p==1 ? L : lags(p,X)
list L print
p = 1
list L = p==1 ? null : lags(p,X)
list L print
</hansl>
Allin