After tracking down the rank error my solution sentence became

   +/,on`off`toggle@.({.@identify)"1 A

where A is a matrix containing one instruction per row, and the agenda item verbs modify a global matrix. Have you guessed my difficulty? Yes, identify returned a length one vector instead of a scalar.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to