Em 30/08/2015 19:56, Bob Ammerman escreveu: >> On Sun, 30 Aug 2015, Bob Ammerman wrote: >> >>> The "!=3D" operator returns 0 or 1 based on the comparison >>> >> Probably :-) >> >> Has this been set in stone yet? > Yes, the standard requires it. > > -- Bob BASIC (old 8-bit Microsoft BASIC) used and interesting approach: false is zero and true is -1 (all ones), this way the same operators serve both as binary and logic operators (and, or, xor). <, <=3D, =3D, <>, >=3D, > return either 0 or -1. Isaac --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .