Allin:
> (2) Unfortunately there's an annoying bug in smpl, whereby a
"-"
> indicating retard-the-sample-end-or-start gets confused with the
> "-" that precedes an option flag. The form I used above,
"-n2",
> happens to be a lucky string that doesn't trigger the problem.
>
> (I think the solution to this is to insist that the options to
> smpl be given in their full form, with two dashes. I'll fix that
> for gretl 1.6.6.)
Jack:
Bug or feature?
I personally like the short form for options, and I'm a bit wary of
"exceptions". I'd keep things as they are now and use a string
substitution
trick instead, as in
sprintf foo "-%d", $nobs/2
smpl ; @foo
Ah, clever. Maybe that is a better way to go. I think, though,
that option extraction for smpl could be a bit smarter. There are
smpl contexts where no option flag could be valid -- for example,
if the smpl line contains ";".
Allin.