On Sun, 22 Feb 2015, Sven Schreiber wrote:
Am 22.02.2015 um 15:59 schrieb Allin Cottrell:
> On Sun, 22 Feb 2015, Wingenroth, Thorsten wrote:
> The thousands-separator detection is not working right on this file, and
> all variables are being taken as string-valued. There must be a subtle
> difference between this file and the one you posted a few weeks back
> (DAX) -- I checked, and reading of the DAX file is still correct. I'll
> take another look at this.
Perhaps because now it's also a millions-separator, i.e. a dot ocurring
twice in the same number? Or was that also the case back then?
That was also the case with the previous file. I think the difference
is coming from the representation of dates, which was in the canonical
form YYYY-MM-DD in the previous file but is in the form DD.MM.YYYY in
the current one. I guess gretl is getting confused due to the need for
multiple passes through the data: the pass to fix the dates is somehow
interfering with the pass to fix the thousands separators.
A fix shouldn't be too far away. But this time I think I'll put in a
"backstop": if we find ourselves having to construct a "string table"
for data that are composed of nothing but digits, dot and comma, we
should flag an error and give up instead of accepting the data as
string-valued.
Allin