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

[REBOL] Re: Millennium + 1 ...

From: g:santilli:tiscalinet:it at: 5-Jan-2001 19:04

Hello Ladislav! On 04-Gen-01, you wrote: LM> To be more constructive, I can imagine a strategy: Yet, I think there would be a problem; imagine this scenario: f: func [ "Does something" series [series!] i [integer!] ; ... /local element ] [ ; We do something here element: pick series i - 1 ; we do something with ELEMENT ] After debugging your function seems to work. You are confident in it, but then, one day, something like this happens: f skip [1 2 3 4 5] 2 1 and you get unexpected results. (Well, all this is probably quite unlikely, but it might be the source of one of those subtle bugs which make programmers go crazy.) Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --