DJ> where asargs is a function (that can be written in C) that takes a table, DJ> a, and returns it as a number of return values (return DJ> a[1],a[2],...,a[n]). your asargs() function exists, it's called unpack() rgds, Gunnar