unlike type(), typeof(null()) isn't supported. Patch attached (=> "null")
Reported by Samuel GOUGEON (@sgougeon)
-- Bug description --
typeof(null()) should be supported (and give "null" or "void"), like type(null()). The null type is the only one to be untypeofable.
-- Scilab error message --
-->type(null())
ans =
0.
-->typeof(null())
!--error 10000
typeof: Wrong value for input argument #1: Defined variable expected.
at line 3 of function typeof called by :
typeof(null())
-- How to reproduce the bug --