DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 40
DO_PTAL_ON Command
char filler_0;
} a_def;
#pragma section e
/* Definition E created on 10/13/1995 at 13:23 */
typedef char e_def;
#pragma section f
/* Definition F created on 10/13/1995 at 13:23 */
#pragma fieldalign shared8 __f
typedef struct __f
{
short g;
struct
{
e_def i;
char filler_0;
a_def j;
} h;
char k;
char filler_1;
short l;
} f_def;
DO_PTAL_ON Command
The DO_PTAL_ON command instructs the DDL compiler to generate a FIELDALIGN
clause for each structure in pTAL or TAL output
.
DO_PTAL_ON
causes generation of a FIELDALIGN clause for all structures in pTAL or TAL
output. DO_PTAL_ON in the default.
DO_PTAL_OFF
causes generation of a FIELDALIGN clause for all structures in pTAL or TAL
output, but encloses the FIELDALIGN clauses within IF PTAL compiler directives.
DO_PTAL_ON Command Guidelines
Either option causes the DDL compiler to generate code that can be compiled with
either the TAL or pTAL compiler. However, if you need to generate code that can be
compiled by a compiler that does not recognize FIELDALIGN clauses, use the
DO_PTAL_OFF command. The resulting code contains FIELDALIGN clauses enclosed
in IF PTAL compiler directives, and therefore can be compiled by pTAL which
recognizes the FIELDALIGN clauses, and also by older compiler which will not process
the FIELDALIGN clauses.
DO_PTAL_ON
[ DO_PTAL_OFF ]