[REBOL] Re: for bug?
From: rotenca:telvia:it at: 17-Jun-2002 8:11
Hi Joel and Gabriele,
thanks for your answers.
My point of view is that if 'for accepts unsigned integer, it must know how to
handle them.
In my expression i have asked to stop at 255 not at something > 255. I think
that 'for should be an until loop:
until [
...
i >= 255
]
not a while loop:
while [i > 255][
...
]
else 'for couldn't handle unsigned value in the right mode and it should not
accept values it does not know how to handle.
But perhaps others languages have this limitation in their for loop with
unsigned values. Joel do you confirm this?
---
Ciao
Romano