definedfields — return index of list's defined fields
k=definedfields(l)
If l
is a list
tlist
mlist
k=definedfields(l)
returns in
k
the indices of the defined list fields. This
function is useful because indexing undefined fields produces an
error.