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

[REBOL] A comment to Carl's blog

From: hallvard::ystad::oops-as::no at: 20-Oct-2004 23:54

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 :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