MESSAGE RE-FORMATED TO BOTTOM-POSTING On Mon, 8 Nov 2010, Ed O'Connor wrote: > > On Mon, Nov 8, 2010 at 9:54 PM, Duke Normandin <[email protected]> wrote: > > > > From "REBOL/Core Users Guide - Chapter 4 - Expressions": > > > > [quote] > > print native? :if > > true > > > > Here the get returns the function for if. > > [/quote] > > > > Is this a typo? I don't see the "get" function being used. Is it > > implied in native? > > > You might find this a bit confusing at first... > > The colon notation (i.e., :if) refers to the value referenced to the word 'if. > This notation with the colon in front of the word is called the "get" > function. > > The example expression tells REBOL to print the result of applying > native? to the value referenced by the word if. > > A complex value like a function has the form: > > <set-word:> <function body> > > By using the "get" form of the word (instead of the "set/assignment" > form), you are ensuring that native? processes the value referenced by > if-- a function body-- and not merely the word if. > > I hope this helps.
So, in a nutshell, `:blah' is identical to `get blah'? -- Duke -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
