[REBOL] Re: "get" function
From: dukeofperl:ml1 at: 9-Nov-2010 21:42
On Tue, 9 Nov 2010, Henrik Mikael Kristensen wrote:
> On Tue, Nov 9, 2010 at 4:54 PM, Duke Normandin <dukeofperl-ml1.net> wrote:
>
> > So, in a nutshell, `:blah' is identical to `get blah'?
>
> it's:
>
> get 'blah
>
> not:
>
> get blah
>
> :-)
>
> it does the same, but GET allows you to for example retrieve any kind of value:
>
> get/any 'my-value
> == unset!
>
> even if it's unset.
>
> >> :my-value
> ** Script Error: my-value has no value
> ** Near: :my-value
>
> GET is also used on objects:
>
> >> get in system/view/screen-face 'size
> == 1208x815
OK! Got it...
Thanks!
--
Duke