^: is J's short circuit operator.

we do not need to overload verbs for this. (Though I understand peer
pressure makes us want to incorporate features of other programming
languages which would cripple J.)

Thanks,

-- 
Raul


On Mon, Nov 6, 2017 at 12:41 PM, Moon S <[email protected]> wrote:
> It could be great to have and.  and or. in if. and while. conditions, like
> if. a~:0 and. b<x%a do. ... NB. or right to left? also a question
> but I understand the rules for their combination would be difficult
> and out of the language discipline.
> A pity anyway.
>
> On Mon, Nov 6, 2017 at 6:42 PM, 'Mike Day' via Programming
> <[email protected]> wrote:
>> ...not forgetting that *.  is least common multiple for integer arguments.
>>
>> eg
>>
>>    12 *. 16
>> 48
>>
>> Mike
>>
>> Please reply to [email protected].
>> Sent from my iPad
>>
>>> On 6 Nov 2017, at 11:35, Rudolf Sykora <[email protected]> wrote:
>>>
>>>> On 6 November 2017 at 12:21, Linda Alvord <[email protected]> 
>>>> wrote:
>>>> Wasn't sure so I guess the answer is it gets evaluated:
>>>
>>>
>>> Well, sometimes it doesn't:
>>>
>>> (>:a) *. (0<a=.1)
>>> 2
>>> (>:a) *. (0<a=.0)
>>> 0
>>> (>:a) *. (0<a=._5)
>>> 0
>>>
>>> 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
> ----------------------------------------------------------------------
> 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