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

[REBOL] SKIP with *very* large values

From: greggirwin:mindspring at: 15-May-2002 16:21

OK, I'm not expecting to ever need the use values this large with SKIP, but I'm a little puzzled by the behavior.
>> skip [1 2 3] 99999999999999999999
== []
>> skip [1 2 3] 999999999999999999999
== [1 2 3]
>> skip [1 2 3] -99999999999999999
== [1 2 3]
>> skip [1 2 3] -999999999999999999
== []
>> skip [1 2 3] -9999999999999999999
== []
>> skip [1 2 3] -99999999999999999999
== []
>> skip [1 2 3] -999999999999999999999
== [1 2 3] Any thoughts? --Gregg