Allin Cottrell schrieb:
5. So this should be the situation: (a) Regardless of locale, you should
be able to use '.' as decimal separator in genr formulae; (b) if you use
',' as decimal separator this should be OK too, with the qualification
that you have to make sure to leave a space after an
argument-separating comma in the case of numeric arguments, as in the
pvalue function.
I also view (a) as essential, thanks for addressing this problem so quickly. However, with
respect
to (b), Jack's and your point are very valid, double definitions of commas as two
types of
separators could become very difficult to handle. For example, isn't it ok to write
"2." in many
languages for floating-point-two? But "2," couldn't be allowed. It probably
becomes pretty messy
quickly.
So maybe gretl should simply drop locale support in scripts. Personally as a user, I
wouldn't really
mind, and it seems to me that all (?) programming languages do that.
That way there's more time for developers to work on econometric features instead ;-)
Just imho of course.
Cheers,
Sven