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,429 of 2,978    |
|    Vinzent 'Gadget' Hoefler to Stephen Posey    |
|    Re: Is there any reason NOT to word-alig    |
|    24 Feb 05 07:19:29    |
   
   From: nntp-2005-02@t-domaingrabbing.de   
      
   Stephen Posey wrote:   
      
   > You'll get yourself into a lot of trouble reading binary files into   
   > data structures if the byte alignment of your structures doesn't match   
   > the byte alignment that was used to create the file.   
      
   The switch doesn't apply to records, just to items declared in the data   
   segment. Record variables are always packed with no alignment at all,   
   just as if the keyword packed would have been specified in the   
   declaration, regardless of the {$A} switch.   
      
      
   Vinzent.   
      
   --   
   worst case: The wrong assumption there actually is one.   
      
   --- 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