home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,912 of 2,978   
   Ian to Dr John Stockton   
   Re: Help convert C function to Pascal fu   
   25 Sep 05 23:17:06   
   
   From: ian@devnull.bin   
      
   On Sun, 25 Sep 2005 17:32:09 GMT, Dr John Stockton wrote:   
      
      
      
   > It's quite likely that the milliseconds are used   
   > exclusively for differencing with other similar   
   > milliseconds, in which case the base of the count does not   
   > matter.  However, if the OP is in a country which has   
   > Summer Time (he gives no indication, so is assumed   
   > American), he should be aware that days can have 23,24,25   
   > hours.   
      
   Yes, I am in the US.   
      
   > I don't know what a C long is; but a Pascal longint will   
   > only store a little under 25 days-worth of milliseconds -   
   > it may be necessary to use a comp variable (unless the OP   
   > is a Delphi user who has not yet understood the wisdom of   
   > posting Delphi questions to Delphi newsgroups).   
   >   
      
   According to the notes in the C source code, it is inded a   
   longint. Also, I'm not using Delphi; I am using Borland Turbo   
   Pascal 7. The C code I originally posted is from a program   
   someone wrote in Borland C++ back in 1994. I'm trying to use   
   some functions from their C program for mine.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca