I find I often get a session which gives length errors and just re-enter the
line to try it again. The following gives the definitions and shows the
verb executes without change for a second try.
This may occur more frequently after loading a project. I do not know how I
could provide more diagnostic information but it is annoying.
1 test2 g0 =: setupc td1
|length error: setupc
| 'vars tab' =.y
$td1
2
setupc
+--------------------------------+
¦3¦:¦'vars tab' =. y ¦
¦ ¦ ¦(a:,(<$tab),a:);vars;tab;tab¦
+--------------------------------+
g0 =: setupc td1
Fraser
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm