From: <mi...@ph...> - 2004-08-11 13:54:33
|
> Not exactly a bug --- just an unusually surprising feature. > Essentially, the parser at least accepts: > > 1) `.' all on its own as a valid number, equal to 0.0 > 2) tokens without whitespace between them > 3) keyword-less linetype and pointtype options, for compatibility with > pre-3.7 gnuplot > > Feature 3) could be removed --- it's never been documented, I think, > and is obsolete. You mean "plot x with lp 2 3"? Well, I think this abbreviation is still used. > Feature 2) is actively being used by people --- you sometimes do see > example commands like > > plot 'file'u1:2:3 This makes error, correct is plot 'file'u 1:2:3 I propose that saying "." instead of "0." or ".0" should be an error. I don't think this abbreviation is supported by any programming language. This would solve the problem with "plot ..." --- PM |