Page 1 of 1

Repeat with...

Posted: Fri Sep 05, 2008 7:40 am
by bjb007
When I code

repeat with i = 1 to 20 etc.
I don't have to specify an increment to get +1.

When I code
repeat with i = 20 to 1
I have to specify an increment even when it's -1.

Think Rev should be able to figure this out - or at least,
while it's required have the parser flag an error if
the "step -1" is missing.

Posted: Fri Sep 05, 2008 8:49 am
by malte
try

repeat with i=20 down to 1

Cheers,

Malte