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

[REBOL] Re: Why this works ?

From: greggirwin:mindspring at: 21-Nov-2005 8:36

Hi Giuseppe, GC> I have supposed that "site" contains a copy of the value taken from GC> "sites" block. In REBOL, variables don't "contain" values, they reference them; hence Anton's pointer metaphor. This is how REBOL can be dynamic, yet strongly typed. Values have type; variables don't, they can refer to anything. GC> Ok, lets suppose it referrers to the site series: why does append GC> works on the single block entry and not on the end of the block ? It will work on the last value in a block if that value, itself, is a series. If the last value in SITES was, say, $100.00 or 'testing, it would fail. Even better than assuming, sprinkle some print statements in there. See what the values are, what type they are, whether they're EQUAL? or the SAME?, etc. -- Gregg