On Wed, 7 Jan 2015, Riccardo (Jack) Lucchetti wrote:
> This feels very weird, or am I blind and missing something
obvious?
Careful: isnull() doesn't mean "isn't there": it means "it's
there, and takes
the value 'null'".
Lame attempt at geek humour:
<hansl>
function void schroedinger(matrix *cat[null])
if isnull(cat)
printf "Dead\n"
else
printf "Alive\n"
endif
end function
c = {}
schroedinger(&c)
schroedinger()
</hansl>
-------------------------------------------------------
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
-------------------------------------------------------