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,907 of 2,978    |
|    Ian to All    |
|    Help convert C function to Pascal functi    |
|    24 Sep 05 02:08:53    |
   
   From: ian@devnull.bin   
      
   As I am not familiar with the C programming language, I would   
   greatly appreciate it if someone could please convert the C   
   function below to a Pascal function. Thanks!   
      
      
   /* converts time into units of milliseconds */   
   long mytime(void)   
   {   
    static struct time t;   
    static struct date d;   
    static long mama;   
      
    getdate(&d);   
    gettime(&t);   
      
    mama = ((((dostounix(&d,&t)-unixstart)*100)+t.ti_hund)*10);   
      
    return(mama);   
   }   
      
   --- 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