On Tue, 2 Jun 2015, Allin Cottrell wrote:
On Mon, 1 Jun 2015, Ignacio Diaz-Emparanza wrote:
> I am having problems with creating a new package. For example, here is
> another pair of silly functions. After running the script, I can make a new
> package with only f1(public), but I cannot make a new package with
> f2(public) and f1(helper)
>
>
> <hansl>
> function series f1(series y)
> scalar T=nobs(y)
> return y/T
> end function
>
> function series f2(series y)
> series cc = const
> series zc = f1(cc)
> return zc
> end function
>
> nulldata 100
> setobs 1 1 --time-series
> e=randgen(N,2,1)
>
> series z3=f2(e)
> </hansl>
Thanks, Ignacio. I see what you. This is fixed in my personal tree but I
won't be able to commit the fix to CVS, or publish snapshots, until Thursday.
If you send me the diffs (or whatever else) I'll do it.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------