Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Rolling your own ideal looper: does Repeat still have a bug? Re:(7)

From: lmecir:geocities at: 1-Sep-2000 8:51

Hi Elan, the problem has been solved by the function For2 (you can see it at the end of the mail). Your solution (I call it For1) differs here:
>> for1 i a: [1 2] tail a 1 [print mold i]
[1 2] [2]
>> for2 i a: [1 2] tail a 1 [print mold i]
[1 2] [2] [] Regards Ladislav