nice :-) It's a shame so many places seem to explicitly check the type of things... table.foreach ({1,2 , 5, 9}, "|x|x+1") stdin:1: bad argument #2 to 'foreach' (function expected, got string) blargh... -Miles -- Omochiroi!