On the NuVov page:
http://www.jsoftware.com/jwiki/Vocabulary/RankFromV
I wonder if there is an error in the output of the second example of the verb
length. I would not have noticed, had not the narrative suggested I should see
a different result. Here is the script I used on my iPhone to test it:
lengtha =: %:@(+/)@*:
a=: lengtha 3 4
lengthb =: %:@:(+/)@:*:
b=: lengthb 3 4
Then, after running the script:
load'~/user/foo.ijs'
a ; b
+---+-+
|3 4|5|
+---+-+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm