Hi,
to prove that at least some (n>=1) people do read the manual here are
some things I noticed today:
1) I once was taught on this list that "loop for i=1..x" is just a
tolerated syntax error, not the correct form (which is "loop i=1..x").
However, I noticed today that this idiom is used in the manual, so I
suggest to correct that. (This is something I probably could even do
myself in cvs.)
2) similarly, the "secret" short form "-q" for "--quiet" is
also used in
the manual and probably never explained
3) and a suggestion: in a foreach loop many variables which are
contiguous in the dataset can be referred to like this:
loop foreach i var1..var99
This is explained in the manual, otherwise I wouldn't know it. When I
was dealing with 51 weekly dummies today I thought that it would be very
useful to have this syntax also for definition of lists, or maybe even
directly in estimation commands.
Example:
# shortest form (suggestion)
ols myvar const dummy_1..dummy_51
# slightly longer, with new list definition
list weekdummies = dummy_1..dummy_51
ols myvar const weekdummies
# best possible thing today (AFAIK):
list weekdummies = null
loop foreach i dummy_1..dummy_51
list weekdummies += $i
endloop
ols myvar const weekdummies
Or is there some existing trick that I'm not aware of?
thanks,
sven