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,229 of 135,536   
   The Natural Philosopher to All   
   Re: naughty Python   
   02 Jan 26 11:57:15   
   
   XPost: alt.folklore.computers   
   From: tnp@invalid.invalid   
      
   On 02/01/2026 11:54, c186282 wrote:   
   > On 1/2/26 06:27, Carlos E.R. wrote:   
   >> 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)   
   >   
   >    Yep. TP was a slight 'super-set' of Wirth Pascal.   
   >    Cleaned up a few lackings. Wirth, though practical,   
   >    was still kind of an 'academic' and didn't always   
   >    address typical real-world problems. Easy type-casts   
   >    made things a LOT better.   
   >   
   How did it handle pointers...?   
      
   --   
   The theory of Communism may be summed up in one sentence: Abolish all   
   private property.   
      
   Karl Marx   
      
   --- 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