The result of b. is always a character list, NOT a verb. You would need to convert it to a verb before using it as you have. Perhaps
h=: 13 :'(+: b. _1) 128!:2 ^. +: y' h 123 2.75267 Henry Rich On 5/21/2014 11:02 PM, Linda Alvord wrote: > u&.v y ↔ vi u v y > > +: b. _1 > -: > > f=: 13 :'^.&.+: y' > f > ^.&.+: > 5!:4 <'f' > ┌─ ^. > ── &. ─┴─ +: > f 123 > 2.75267 > > g=: 13 :'-:^.+: y' > g > [: -: [: ^. +: > 5!:4 <'g' > ┌─ [: > ├─ -: > ──┤ ┌─ [: > └────┼─ ^. > └─ +: > g 123 > 2.75267 > > h=: 13 :'(+: b. _1) ^. +: y' > h > '-:' ^. +: > 5!:4 <'h' > ┌─ '-:' > ──┼─ ^. > └─ +: > h 123 > |domain error: h > | h 123 > |[-17] c:\users\owner\j802-user\temp\5.ijs > > There are single quotes that are causing trouble. > > Linda > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
