Do_Ptal_On Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
char
} a_def;
#pragma section e
/* Definition E created on 10/13/1995 at 13:23 */
typedef char
#pragma section f
/* Definition F created on 10/13/1995 at 13:23 */
#pragma fieldalign shared8 __f
typedef struct __f
{
short
struct
{
e_def
char
a_def
} h;
char
char
short
} 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
[ DO_PTAL_OFF ]
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.
Data Definition Language (DDL) Reference Manual—426798-002
filler_0;
e_def;
g;
i;
filler_0;
j;
k;
filler_1;
l;
.
9- 40
DO_PTAL_ON Command

Advertisement

Table of Contents
loading

Table of Contents