>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  Primer

Comparative

The dyad = has a result of 1 if its left and right argument are equal, and a result of 0 if they are different.
   23 = 34
0
   23 = 23
1
   a =. 'd'
   a = 'c'
0
   7 + a = 'c'
7
   7 + a = 'd'
8
Some programming languages treat the results of comparative primitives such as = as True and False values that are not numbers. In J the results of comparatives are just numbers.

There are several other comparative verbs: less-than < , less-or-equal <: , larger-than > , and larger-or-equal >: . These comparative primitives are sometimes called relationals.
   7 < 8
1
   7 < 7
0
   7 <: 7
1

>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  Primer