Hi, list, >From de console:
>> system/version =3D=3D 2.5.55.3.1 >> data =3D=3D [10 20 30] >> n: 2 =3D=3D 2 >> data/2 =3D=3D 20 >> data/:n =3D=3D 20 >> data/(n) =3D=3D 20 >> data/(n: 3) =3D=3D 30 >> I like the new feature! Miquel. -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Hallvard Ystad Enviado el: mi=E9rcoles, 20 de octubre de 2004 23:55 Para: [EMAIL PROTECTED] Asunto: [REBOL] A comment to Carl's blog 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=3D 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=3D20 :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.=3D Elucidate me! A copy of this email is sent via http://www.rebol.com/contacts.html. HY Pr=3DE6tera censeo Carthaginem esse delendam --=20 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.
