From: Ethan M. <merritt@u.washington.edu> - 2004-08-11 16:08:29
|
On Wednesday 11 August 2004 06:54 am, mi...@ph... wrote: > > 1) `.' all on its own as a valid number, equal to 0.0 > > 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 ..." This is fixed (as an unintentional side-effect) by the string variables expression parsing code. If you can live with it for another few weeks, you will instead get the behaviour: Terminal type set to 'x11' gnuplot> plot . ^ invalid expression Or if you get more creative in stringing dots together you get: gnuplot> plot .0..007 internal error : STRING operator applied to non-STRING type > 3) keyword-less linetype and pointtype options, for compatibility with > pre-3.7 gnuplot This has been a headache for me in trying to maintain order-indepence of all command options. I vote for removing this backwards compatibility and requiring "lt" or "pt" keywords. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |