Cool.  Thanks, everyone, for the info!  I've stuck the emails in my
'Snippets' folder for future reference.

--Charles

----- Original Message -----
From: "Andrew Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 1:46 AM
Subject: [REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)


> Charles wrote:
> > I do not believe I've come across these three in my (highly
> limited)studies.  Is there a decent reference to them in "REBOL For
> Dummies", or one of the online guides?  (Preferrably a non-PDF guide.)
> Thanks.
>
> >> source context
> context: func [
>     "Defines a unique (underived) object."
>     blk [block!] "Object variables and values."
> ][
>     make object! blk
> ]
> >> source does
> does: func [
>     {A shortcut to define a function that has no arguments or locals.}
>     [catch]
>     body [block!] "The body block of the function"
> ][
>     throw-on-error [make function! [] body]
> ]
> >> source has
> has: func [
>     {A shortcut to define a function that has local variables but no
> arguments.}
>     locals [block!]
>     body [block!]
> ][function [] locals body]
>
> Andrew Martin
> Re-Source...
> ICQ: 26227169 http://valley.150m.com/
> -><-
>
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to