No error; the modifier is ALWAYS evaluated before its x and y operands: see
http://www.jsoftware.com/help/jforc/verb-definition_revisited.htm#_Toc191734405 http://www.jsoftware.com/help/jforc/writing_your_own_modifiers.htm#_Toc191734495 Henry Rich On 4/10/2012 11:48 PM, Paul Jackson wrote: > Thanks to those who suggested I look at simpler examples. Doing so lead me > to determing why we get this unusual result. > > arg=: 1 : 'u' > % arg 4 > 0.25 > > I initially thought this was a second problem, but today I realized there > is some level of simplicity where adverbs are evaluated when they shouldn't > be. This happens whether or not the arguments are present. > > Arg=: 1 : 0 > y 1!:3 [2 > (5!:5<'u') 1!:3 [2 > 0 0$'' > ) > > + Arg > |value error: y > | y 1!:3[2 > > + Arg 'u =: ' > |value error: y > | y 1!:3[2 > > It turns out some conjunctions also have this problem. I have lots more > testing methods and data than is appropriate to include here. If anyone is > going to work on this, I'm happy to make my research available to them. > > Paul > On Apr 8, 2012 6:17 PM, "bill lam"<bbill....@gmail.com> wrote: > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm