I propose that the following should work in order to make generic code possible; the matrix should be simply empty ({}). list myl = null matrix checkmat = { myl } thanks, sven