On Tue, 6 Oct 2009, Alan G Isaac wrote: > Is it true that `genr` is deprecated? The command reference uses > it all over the place. In contrast, `series` is not even documented.
No, "genr" isn't exactly deprecated. It's convenient to have a generic name for "generating a new variable" and "genr" has that job. But it's often more transparent and/or reliable to use a typename instead: "series", "scalar", "matrix", "list". This shows the reader of a script what sort of new variable is expected and in some cases forces the issue (e.g. where the outcome of genr could equally well be considered a scalar or a 1x1 matrix). > Well ok, the command reference is a few years old, but even the > recent Guide refers to `genr`, not to `series`. The command reference is regularly updated; the most recent edit was a few days ago. It's possible that we should go through the manual and replace at least some instances of "genr" with typenames. > Finally, can I assume `series` is just an alias for `genr` > (or vice versa)? Yes, the typenames are in effect aliases for "genr". Allin