$A
Deutsch · English
Back to local compiler directives.
The local compiler directives {$ALIGN 1} or {$A1}, {$ALIGN 2} or {$A2}, {$ALIGN 4} or {$A4}, {$ALIGN 8} or {$A8}, {$ALIGN 16} or {$A16} and {$ALIGN 32} or {$A32} determine the alignment of records. The number signifies the alignment boundary in bytes.
Packing records reduces the amount of memory required at the expense of slowing down processing speed.
These directives are related to the directive $PACKRECORDS.
Example:
{$A8} // the result is the same as {$PACKRECORDS 8}
{$ALIGN 8} // the result is the same as {$PACKRECORDS 8}From the Free Pascal wiki, page "$A", as it stood on 2020-02-26 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
