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

[REBOL] Re: On mutability and sameness

From: joel:neely:fedex at: 15-Jun-2001 15:25

Hi, Gabriele, We're 99% in agreement! Gabriele Santilli wrote:
> MY MODEL: > > simple (scalar) value: > > +----+ > | | > +----+ > > series (reference) value: > > +----+ +----- ... -----+ > | |---->| ... | > +----+ +----- ... -----+ > > (where the boxes represent memory areas). > > SAME? checks only the first memory area and returns true if it has > the same content. >
We agree here.
> EQUAL? checks both the first and the second > (where present) memory area to se if they have the same content. >
If you meant EQUAL? compares the first areas and returns TRUE if they have the same content, otherwise it compares the content in the second areas. then we agree. In other words, its an IF/ELSE rather than ALL set of comparisons. Agreed? -jn- ___ ___ ___ \/ 2 + \/ 2 = 4 (for sufficiently large approximations of \/ 2 ) joel'dot'neely'at'fedex'dot'com