[REBOL] Re: reduce second [one two]
From: ammon:johnson::gmail at: 13-Jan-2009 18:30
You just have 'reduce in the wrong place...
>> one: 1
== 1
>> two: 2
== 2
>> probe second reduce [one two]
2
== 2
HTH!
~Ammon ;~>
On Tue, Jan 13, 2009 at 3:52 PM, Giuseppe Chillemi
<gchillemi-aliceposta.it>wrote:
> Hello,
> I tought it was a bug but it seems a feature:
>
> Whith the following script
>
> two: 2
> probe reduce second [one two]
>
> I get "TWO" as result when I expected "2".
> An user told me that "second [one two]" returns 'TWO instead of TWO. I do
> I get TWO and have it reduced to "2" ?
>
> Giuseppe Chillemi
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Joe E. Lewis - "There's only one thing money won't buy, and that is
poverty."