Hi Anton,
On Wednesday, January 19, 2005, 3:56:33 PM, you wrote:
AR> Can someone tell me why I get different results for n = 0
AR> with these two variants?
Hmm, it might be an implementation side effect.
But that leads us to:
find-nth: func [
"Returns the series at occurrence N of value or none."
series [series!]
value
n [integer!]
/local pos
] [
n: n - 1
parse series [
n [thru value] to value pos:
]
pos
]
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
--
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.