On Fri, 16 Oct 2015, Sven Schreiber wrote:
Hi,
new day, new bug...
Try:
bundle bcheck
bcheck.o = 2
print bcheck.o
This prints the series with number 2, not the number 2 itself.
This is a bug alright, but not in the way you mean (as far as I understand
your point). "bcheck.o" is not a variable you can print: it's an
expression. If you want to have it printed, you should use "eval", not
"print"[*]; and indeed, if you change "print" into "eval" in
your example
above, things work they way (I think) you expect.
The real bug is that the scalar contained in "bcheck.o" is interpreted as
a series ID, which IMO shouldn't happen; but maybe Allin has a different
perspective on this.
[*] We may now engage in a discussion on the opportunity to merge the two
commands "print" and "eval" into one, but that's another story.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------