please help: simple jit.matrix to matrixCtrl conversion

yoursovain's icon

I've been banging my head against a wall for an hour now. If I have a jit.spill list of n * m ints, then how would I change this over to a larger input list of n * m * 3 ints. Each set of three ints represents the input set for matrixCtrl [ x, y, 0 or 1]. This should be really simple, but I'm struggling to find documentation on maxmsp js objects input and represent lists. Are they strings? should I be parsing them apart? are they int arrays? are they linked lists? is there documentation that goes over this somewhere?