OMG whoops sorry about that I had meant to respond then accidentally tried to click "Reply" twice...
It looks to me like - data: [10 20 30] n: 3 "data/:n" does the exact same thing as "pick data n", but with less typing, and that "data/2: n" is the same as "poke data 2 n" with less typing.. I wouldn't think these are the only differences though, and note that the example with 'poke you can use a variable for the index, but there seems like maybe one way works faster than another.. Oh and I got an error when I tried "data/:n: 150" > > Hi, list, > > About http://www.rebol.net/blog/carl.html#section-5 > > Here's Carl's exemple: > data: [10 20 30] > n: 3 > > This shorthand for accessing elements in blocks is added to rebol version= > 2.5.55: > 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=20 > :n: > which should be evaluated first, :n or n: ? > > This might be a dumb question, but I don't see that this is all that > clear.= > Elucidate me! > > A copy of this email is sent via http://www.rebol.com/contacts.html. > > HY > > Pr=E6tera censeo Carthaginem esse delendam > > -- > To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject. > > -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
