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

[REBOL] Re: looping - path problem

From: pwawood:g:mail at: 25-Apr-2006 14:39

Hi Tom That's why I used foreach to get the position dependent bulls-eyes and intersect to get the position independent shots. (I hope I understood the scoring system properly). It would have helped if there wasn't an error in my code. Here is the revised version: foreach attempt ans [ if attempt = first target [bulls: bulls + 1] target: next target ] shots: shots + length? intersect ans target: head target Actually, I suspect there may be a better solution using parse. Regards Peter On Tuesday, Apr 25, 2006, at 14:06 Asia/Kuala_Lumpur, Tom Conlin wrote: