pTAL Conversion Guide

Compiler Operation
pTAL Conversion Guide527302-002
19-19
For pTAL and TAL
You can export only whole data blocks. You cannot export individual variables declared
within a data block.
The compiler exports initialization values for variables that specify them. If a data block
is not being exported, the compiler ignores any specified initial values within the block.
You must export every data block in at least one compilation.
FIELDALIGN
FIELDALIGN specifies the default alignment for all structures.
SHARED2
specifies that the base of the structure and each field in the structure must begin at
an even-byte address except STRING fields.
SHARED8
specifies that the offset of each field in the structure from the base of the structure
must begin at an address that is an integral multiple of the width of the field.
Default: EXPORT_GLOBALS
Placement:
Can appear any number of times in a compilation unit
Must appear before the first procedure is compiled
Cannot appear within BLOCK declarations
Scope: Applies to the compilation unit, except that NOEXPORT_GLOBALS
does not affect a compilation’s private data block, which is always
exported
Dependencies:
You must specify NOEXPORT_GLOBALS when declaring a data
block that belongs to an SRL
In a compilation that includes USEGLOBALS, the compiler exports
the data blocks declared in the USEGLOBALS declarations file only
if EXPORT_GLOBALS is active when the compiler encounters the
BEGINCOMPILATION directive.
FIELDALIGN
( SHARED2
SHARED8
NODEFAULT
PLATFORM
AUTO
VST660.vsd
)