pTAL Conversion Guide

Compiler Operation
pTAL Conversion Guide527302-002
19-26
For pTAL and TAL
PUSHREFALIGNED
pushes the current setting [REFALIGNED (2) or REFALIGNED (8)] onto the
REFALIGNED directive stack. Does not change the current setting.
POPREFALIGNED
pops the top value from the REFALIGNED directive stack and changes the current
setting to that value.
For an explanation of directive stacks, see the pTAL Reference Manual.
SRL
SRL causes the pTAL compiler to generate code that can be linked into a shared run-
time library (SRL).
Note. The EpTAL compiler ignores this directive.
Note. You must specify SRL to be able to link the object file created by the compilation into a
user library. If you are using the EpTAL compiler, your user library must be a dynamic link
library (DLL) instead of an SRL (see the H-Series Application Migration Guide).
Default: None
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: When declaring a data block that belongs to an SRL, you must specify
NOEXPORT_GLOBALS and NOGP_OK.
VST671.vsd
SRL