home bbs files messages ]

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

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

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

   Message 134,227 of 135,536   
   Carlos E.R. to The Natural Philosopher   
   Re: naughty Python   
   02 Jan 26 12:27:55   
   
   XPost: alt.folklore.computers   
   From: robin_listas@es.invalid   
      
   On 2026-01-02 11:59, The Natural Philosopher wrote:   
   > On 01/01/2026 23:54, Waldek Hebisch wrote:   
   >> If you really needed 100 variant record in Turbo Pascal,   
   >> then you needed 100 unions in C.   
   >   
   > No. You simply used *casting* .   
   >   
   > k=*(int *)(buffer +4) etc etc.   
   >   
   >   
      
   Borland Pascal also had typecasting.   
      
   BYTE(MyChar)   
      
   --   
   Cheers, Carlos.   
   ES🇪🇸, EU🇪🇺;   
      
   --- 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