isdef() and definedfields() are unconsistent. In L=list(%pi,,%z), definedfields(
@sgougeon)
Reported by Samuel GOUGEON (-- Bug description --
isdef() and definedfields() are unconsistent. In L=list(%pi,,%z), definedfields(L) returns [ 1 2 3 ], but v=L(2);isdef("v","local") gives %F.
-- Scilab error message --
-- How to reproduce the bug --
L = list(%pi,,%z)
definedfields(L)
v = L(2)
isdef("v","local")