/sys$common/syshlp/helplib.hlb
PASCAL, Attributes, ALIGN

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  The ALIGN attribute controls the default alignment  rules  in  a
  compilation unit or for a TYPE or VAR declaration section.

  The ALIGN attribute takes a single keyword  parameter  that  has
  the  same  name  and  meaning  as  the  keywords  for the /ALIGN
  qualifier.  Note that specifying the ALIGN  attribute  overrides
  any value you previously specified with the /ALIGN qualifier.

  Syntax:

     [ALIGN(keyword)]

  You can specify the following keywords:

  Value       Action                            Default Information
  -----       ------                            ------- -----------
  Alpha_AXP   Uses natural alignment when       Default on OpenVMS Alpha
              positioning record fields         systems.
              or array components. Natural
              alignment is when a record
              field or an array component
              is positioned on a boundary
              based on its size. For example,
              32-bit integers are aligned on
              the nearest 32-bit boundary.

  VAX         Uses byte alignment when pos-      Default on OpenVMS VAX
              itioning record fields or array    systems.
              components. Record fields or
              array components larger than
              32 bits are positioned on the
              nearest byte boundary.

  On OpenVMS VAX systems, when you specify a value  of  Alpha_AXP,
  automatic  variables  are aligned on longword boundaries instead
  of  quadword  boundaries.   This  occurs  because  the   largest
  allowable alignment for the stack is longword alignment.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.