This is excellent to know. I've been using functions more to do routine
things (eg, model selection and computation of marginal effects) and they
are unhappy when fed the wrong type. I'm slowly coming to grips with it and
like it a lot. I think the move to more explicit types will facilitate the
expansion of functions (and bundles?). I am very excited about the new
version of "the book". I think it will be a significant upgrade. At least I
hope so
Cheers,
Lee
On , Allin Cottrell <cottrell(a)wfu.edu> wrote:
On Wed, 27 Jul 2011, Lee Adkins wrote:
> What is the preferred use of these in hansl? I've started
using scalar
for
> all scalar computations (but in any old code I used genr);
sometimes I
use
> series instead of genr to generate new variables. I do realize
that
series
> will generate a series from a scalar.
These days, the recommendation is to use the type-name
("scalar",
"series" or whatever) when creating a new variable. There
has been
some talk of getting rid of "genr" as a command word, and
while
that's not slated just yet it's probably a good idea to avoid
it.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu