|
From: <ds...@ch...> - 2005-11-28 08:46:25
|
> > From: Petr Mikulik <mi...@ph...> > Date: 2005/11/27 Sun PM 12:48:25 EST > To: Ethan A Merritt <merritt@u.washington.edu> > CC: gnuplot <gnu...@li...>, > Daniel J Sebald <dan...@ie...> > Subject: Re: Question: intent of "set datafile binary"? > > > So far as I can tell, the command > > set datafile binary > > does not accomplish anything at all. > > > > I had assumed it was intended to make subsequent input default > > to binary, but perhaps not. > > > > That is, I expected the two following sequences would produce > > the same result. But they don't. The second sequence tries > > to read the input as ascii. > > > > # All in-line > > plot 'foo' binary with image > > > > # Set defaults > > set datafile binary > > plot 'foo' with image > > I think the command "set datafile binary" should not switch to binary > reading because there is no an opposite switch like "plot 'bla' ascii". > > I think it should behave this way: > gnuplot> set datafile binary > ^ > option expected > I've no strong opinion on this. Could program either way. > > BTW: "show datafile binary" says > "int64" (8) -- processor does not support this size > "uint64" (8) -- processor does not support this size > but I think they are supported as "long long int" on i386. I guess I did see the syntax "long long" the other day. (Personally, I'd never expect such thing in a programming language. The imprecision of it is that a programmer could easily jump to the conclusion that long long just means long.) I can fix that. Dan |