[REBOL] Re: Using a Math oper. buried in a variable
From: sqlab:gmx at: 7-Apr-2009 15:58
The example of Anton works unfortunately not in the console,
as the console evaluates the paren and () is equivalent to a do, so you
get .. nothing
>> (1)
== 1
>>
>> ()
>>
>> type? ()
== unset!
>>
You can overcome of this in the console by shielding it in a block
>> first [()]
== ()
>> type? first [()]
== paren!
>>
And then you get the desired behavior in the console too
>> append first [()] 1
== (1)
>>
Wall, Scott wrote: