How do I test whether a variable X is a gerund?

The only way I have found so far is to test it against @. (agenda).

  X=.+`-
  x...@.=
+-----+--+-+
|+-+-+|@.|=|
||+|-||  | |
|+-+-+|  | |
+-----+--+-+

   X=.3`3
   x...@.=
|domain error
|       x...@.=

Is there a better way?
Regards
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to