":123 is equivalent to '123'
123='123' is equivalent to 0 0 0
":0 0 0 is equivalent to '0 0 0'

More generally, in J when dealing with nouns, verbs and/or assignment
statements, evaluation is strictly right to left.

I hope this makes sense,

-- 
Raul

On Sat, Oct 16, 2021 at 4:04 PM P Padilcdx <[email protected]> wrote:
>
> Hopefully a quick newbie question.  When I execute ":123 = “:123 I get 0 0 0. 
> Needless to say, I expected 1 1 1. Any clarification/explanation much 
> appreciated.
>
> Regards
> Pete
> ----------------------------------------------------------------------
> 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