On Mon, 26 Aug 2013, Sven Schreiber wrote:
the two following constructs should be equivalent IMHO, but the
second
one with the conditional assignment gives an error:
<hansl>
# 'check' really doesn't exist
if isnull(check)
scalar heyho = 0
else
scalar heyho = check
endif
scalar heyho = isnull(check) ? 0 : check
print heyho
</hansl>
You're right, the second variant ought not to fail.
Thanks for the recent bug reports. Right now I have very limited
time to work on gretl so I'm not able to keep up, but I'll aim to
work off the backlog next week.
In the meantime I've committed a fix to CVS for something you
mentioned a few days back, namely the loss of indentation when a
"foreign" block containing python code is embedded in a function.
It would be good to know if this works OK for you -- I've only done
a trivial test so far.
Allin