![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#2
|
|||
|
|||
type TPACFileHeader = record sig: array [0..2] of char; ver: word; width: byte; height: byte; spc: byte; gpc: byte; end; By default, the values in a structured type are aligned on word or double-word boundaries for faster access. When you declare a structured type, you can include the reserved word packed to implement compressed data storage el compilador lo pone en palabras dobles por eso lo acomoda a 10 bytes Utilizalo de la siguiente manera TPACFileHeader = Packed record sig: array [0..2] of char; ver: word; width: byte; height: byte; spc: byte; gpc: byte; end; |
|
|
|