Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: ['=]

From: lmecir::mbox::vol::cz at: 27-Oct-2004 10:40

Anton Rolls napsal(a):
>Yes, but consider this: > >>>1.0 = 1 >>> >>> >== true > >>>type? 1.0 >>> >>> >== decimal! > >>>type? 1 >>> >>> >== integer! > >I agree with Hallvard that it is strange >that two any-string!s must be strict-equal to >be equal. > >Anton. >
there is another difference between the two operators - the = operator ignores case, while == doesn't ignore case for strings -L