On Fri, 12 Apr 2013, yinung at Gmail wrote:
I occasionally found that the following script responds an error. It
seems
that "show" command is not consistent with the "If" condition. It
works
well when I change to "scalar plot=1."
[...]
<hansl>
open data3-6
ols Ct const Yt
series uhat=$uhat
scalar plot=0
if plot=1
fig1 <- gnuplot uhat --time-series --with-lines
fig1.show
endif
I see what you mean. This doesn't work, the reason being that
GUI-only "commands" such as "fig1.show" are intercepted
specially, and are not respecting the blocking "if" condition.
I'll have to think about the best way of fixing that.
Allin Cottrell