[REBOL] Re: Clueless once more...
From: henrik::webz::dk at: 4-Sep-2007 19:57
On 30/08/2007, at 1.02, Kai Peters wrote:
> probe type? lv/totals/1 = pair!
> tmp: lv/totals
> probe type? tmp/1 = integer!
>
> How is that even remotely possible ?
>
> How can tmp/1 be different from lv/totals/1 ?
>
> Did they not start out as the same?
>
> Can someone please enlighten me?
lv/totals is a function, so giving it /1 as refinement would just
work as a function refinment, and not the first element of a pair. To
get the correct result, use:
probe type? first lv/totals = integer!
--
Regards,
Henrik Mikael Kristensen