Just as Eric said, aparm has already set for you by wdhandler. And because wd'q'
for that event has already been consumed by wdhandler. When you call wd'q' again
and because there is no pending event therefore it raise an error. However if
you are interested in what the event data were, you may still get it by wd'qd', eg.
graph_aparm_button =: 3 : 0
1!:2&2 wd'qd'
a=. ". aparm NB. aparm is a string
wd 'set values *','A = ',": a+0.25
....
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm