[REBOL] Re: Why I don't need get-word here!
From: andrew:martin:colenso:school at: 24-Dec-2003 22:43
> - Do I need the get-word?
> - Is there a difference in the result?
> two syntaxes, the same results, what am I missing ?
The ":" in the get-word ":face" prevents the Rebol interpreter from
doing an extra evaluation step; that is, the evaluation associated with
words referring to function! values.
For example, try this:
F: does [print "In F" 123]
insert tail A F
insert tail B :F
Here's one I prepared earlier:
== [func [print "In F" 123]]
Can you see the difference now?
Andrew J Martin
Speaking in tongues and performing miracles, in a culinary fashion.
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally
liable) for materials distributed to or acquired from user e-mail accounts. You can report
misuse of an e-mail account to our ICT Manager and the complaint will be investigated.
(Misuse can come in many forms, but can be viewed as any material sent/received that
indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate
language and/or other issues described in our Acceptable Use Policy.)
All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0
Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]