Re: Langwar crash
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 06, 2006
- 570 views
ChrisBurch2 wrote: > > How curious, my time() returns a -ve integer (and it does advance at the > > correct rate) > > > > From the docs > > > > Description: Return the number of seconds since some fixed point in the > > past. > > > > Does this mean that I am writing this, on this computer, before this fixed > > point in the past? > > > > Simply add this above procedure sched() in sched.e > > > > global function my_time() > > return time() + 12000000 > > end function > > > > and replace all instances of time() with my_time throughout the whole of > > langwar, > > > > to bring yourself 'up to date', or 'back to the future', or..... etc > > > > Chris > > Hi > > Is this a feature of time() on 64 bit systems? Even on 32-bit systems, I always had in the back of my mind that you shouldn't count on time() starting at zero. > Is this a dignostic technique > for telling you are running on a 64 bit system? I imagine there's a more direct way of telling. > Should it be fixed? Does it matter? I could at least emphasize in the docs that time() does not have to be positive. I should also fix Language War. > What will happen in 2036? I think date() might be more affected by that, not time(). Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com