On Mon, 4 Apr 2011, Sergey wrote:
Recently I've encountered the following behaviour while running
the following script (Allin, you maybe recognize that this is a
slightly modified version of the script you provided in one of
the previous messages):
# start a loop in which for each loop a different,
# successive month is selected, going from Jan 1981 till Dec 2007
loop j=1981:01..2007:12
[...]
My question is why does it start from Feb 1981 instead of Jan
1981?
That was a bug (equivocation over 1-based versus 0-based indexing
of observations). It's now fixed in CVS and will be in the
snapshots shortly.
Also, if you look at the bottom of the script, the argument
"--omit-obs" is placed after the name of the file, because if I
put it after "store --csv" it flags an error [...]
In general, in gretl you should not try to stick option flags
between a command word and the command's arguments. This may work
in some cases but is likely to confuse the parser. Option flags
belong at the end of a command: if they cause a problem there,
that is a bug.
Allin Cottrell