On Tue, 2 Oct 2007, Riccardo (Jack) Lucchetti wrote:
On Tue, 2 Oct 2007, Ignacio Diaz-Emparanza wrote:
> I have a monthly dataset with the sample starting in 2003.10
> If I execute the command
>
> genr dummy
>
> (or add/periodic dummies in the GUI) the generated variables does not
> contain
> the "1" in the correct month. In concrete the variable "ddic"
has the "1" in
> september.
Confirmed. The trouble is that the string "10" ends with the character
"0". If
I'm not mistaken, the following patch should fix it. Basically, it avoids
conversion to strings. Allin, I ran just a limited series of tests, so I'm not
committing it myself. Could you take a look? ...
Ah, we worked on this simultaneously. Do you think the fix I
committed is OK?
Allin.