On Wed, 19 Apr 2017, Allin Cottrell wrote:
> Indeed it would be nice also to build function list arguments
on-the-fly,
> so instead of:
> <hansl-now>
> list tobeinput = x y
> mylistargfunc(tobeinput)
> </hansl-now>
>
> this:
> <hansl-future>
> mylistargfunc( deflist(x, y) )
> </hansl-future>
The future has arrived ;-) Actually we get this for free, given the way hansl
works. Here's a (contrived!) example:
<hansl>
function void lfoo (list Li)
list Li print
end function
open data9-7
lfoo(deflist(1,2,PRIME,log(deflist(STOCK,POP))))
</hansl>
Real cool.
-------------------------------------------------------
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
-------------------------------------------------------