|
From: Ethan A M. <sf...@us...> - 2012-10-31 17:20:24
|
On Wednesday, October 31, 2012 08:33:01 am Karl-Friedrich Ratzsch wrote:
> 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>
>
Indeed quite strange. I see the same thing with 4.4.4 and with
the current 4.6 CVS source.
But it doesn't happen in 4.7, so bisecting the changes from
4.6 to 4.7 should identify the source of the problem and
provide a fix.
Ethan
> 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
|