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

[REBOL] Re: I want time!, not string!

From: g:santilli:tiscalinet:it at: 19-Feb-2004 10:32

Hi Hallvard, On Wednesday, February 18, 2004, 11:30:04 PM, you wrote: HY> I have a funny problem. I have this: HY> s: now/time/precise HY> [...] HY> print join "Took" (now/time - s) HY> But sometimes, 's turns out to be a string! How can that happen?? HY> The script is too long for me to pass on the full HY> context. But has anyone seen this (is it a?) bug before? I don't know of any bugs like this in NOW. AFAIK NOW/TIME/PRECISE will *always* return a TIME! value. Maybe you forgot to make S local to some function and are overwriting it? You could try to rename it to START-TIME or something more difficult to reuse by accident. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: