|
From: Karl-Friedrich R. <mai...@gm...> - 2012-10-31 15:51:02
|
Hi,
i observe a strange parser error, where any command containing + or
- would no longer be accepted. It first occured to me after a
mistype with the stats commmand, and boils down to this:
gp> a=0
gp> stats file"
undefined variable: file
gp> a=a+1
^
';' expected
gp> stats "file"
warning: Skipping unreadable file "file"
Can´t read data file
gp> a=a+1; print a
1
gp>
Same happens after ommitting the leading " on giving the file name
in a fit command, eg.
gp> fit f(x) file"
undefinded variable: file
gp> a=a+1
';'expectd
So after "stats" or "fit" gives out the "undefined variable" error,
the parser will no longer understand any command containing "+" or
"-" ("*", "/" work, btw.). After a another stats command that works
(or gives another error message), the parsing will be OK again.
The error does not occur with "plot", strangely.
I´m using gp4.6.0, official windows build. Is anyone working on the
4.6.1 build for windows, btw? Tatsuro used to do it, i think, but if
he´s not around, i might volunteer if someone has a few pointers on
how it´s done. I´d be starting from scratch, so it might be a few
days ...
Regards, Karl
|