Thanks Henry, Raul and John for the helpful comments.  The following script
reproduces the problem.  It seems to only occur when the verb has a boxed
argument.  The box characters below may not reproduce correctly.

  t1 =: 4 : 0
INFO_base_ =: 0 2$0
sel^: (>:i.x)  y.
)

  sel =: 3 : 0
'r s' =. y.
v =. (>:r), 1.1*s
INFO_base_ =: INFO_base_ , v
<"0 v
)

  2 t1 1;2
????????
?2 ?2.2 ?
????????
?3?2.42?
????????
  INFO_base_
2  2.2
2  2.2
3 2.42

Taking the Dictionary sentences refering to scalar n and to array n, one
would expect the verb to be evaluated exactly n times for both n and ,n.
Whether the data is a boxed array or not should not modify that expectation.

Fraser

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to