David, I would recommend you use \ as in :
dat=:0 7 8 8 8 9 2 2 5 5 5 3 8 8 8 0 0 5 5 9 6 8 8 8 8 4 0 6 4
patmat =. (]\~ -@:{.)~ -:"_1 _ #/@:[
2 5 patmat dat
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
