[REBOL] Re: Millennium + 1 ...
From: lmecir:mbox:vol:cz at: 6-Jan-2001 3:01
Hi,
Gabriele wrote:
> Yet, I think there would be a problem; imagine this scenario:
>
> f: func [
> "Does something"
> series [series!]
> i [integer!]
> ; ...
> /local element
> ] [
> ; We do something here
> element: pick series i - 1
> ; we do something with ELEMENT
> ]
>
> After debugging your function seems to work. You are confident in
> it, but then, one day, something like this happens:
>
> f skip [1 2 3 4 5] 2 1
>
> and you get unexpected results.
>
> (Well, all this is probably quite unlikely, but it might be the
> source of one of those subtle bugs which make programmers go
> crazy.)
>
> Regards,
> Gabriele.
> --
I am not sure, I understood you... Could you please compare with the
SKIP-PROP implementaion I sent in?
Regards
Ladislav