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,535 of 2,978   
   Jud McCranie to sm7040@hotmail.com   
   Re: Longint(), Word(), etc...   
   26 Apr 05 01:04:51   
   
   From: youknowwhat.mccranie@adelphia.net   
      
   On 25 Apr 2005 21:30:45 -0700, "Sm704"  wrote:   
      
   >I see a lot of source code that use functions like WORD() or LONGINT(),   
   >but I have never seen this documented.   
      
   It typecasts the argument as the type shown.  It is used from time to   
   time.  One of the main uses is if you have two integers to multiply,   
   and the result will be a longint - then x * longint(y) will do it and   
   not overflow the integer.   
      
      
   ---   
   Replace you know what by j to email   
      
   --- 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