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

[REBOL] Re: A comment to Carl's blog

From: rotenca:telvia:it at: 22-Oct-2004 0:02

Hi,
> data/:n: 150 > > But then: is it absolutely clear that this should mean > poke data n 150 > > Couldn't it just as well mean: > n: 150 > pick data n > > i.e. with the form > :n: > which should be evaluated first, :n or n: ?
Can be seen in this way: the expression data/:n: is a set-path!, because it ends with ":" This set-path! is formed by 2 items: 1) data (word!) 2) :n (get-word!) The final ":" is part of the set-path!, while the first ":" is part of the last item of the set-path! --- Ciao Romano