Wasn't sure so I guess the answer is it gets evaluated:

v1=:*:
   v2=:-
   (b=:v1 a)*.(0<:a=:    v2 42)
0
   b
1764

Linda

-----Original Message-----
From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf 
Of Rudolf Sykora
Sent: Monday, November 6, 2017 5:53 AM
To: programm...@jsoftware.com
Subject: [Jprogramming] and, or evaluation order

Hello,

when I have

(v1 a) *. (0 <: a=. v2 42)

where v1 and v2 are some verbs, isn't it so that when a<0 the (v1 a) part is 
not evaluated?

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

Reply via email to