DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 30
CPRAGMA Command
The generated Pascal code is:
{ Token type for enumerated tokens }
?Section ZSPI_TYP_ENUM
CONST ZSPI_TYP_ENUM = 2818;
The generated TACL code is:
?Section ZSPI-TYP-ENUM Struct
==Token type for enumerated tokens
BEGIN
UINT ZSPI^TYP^ENUM IS 2818;
END;
The generated pTAL or TAL code is:
!Token type for enumerated tokens
Literal ZSPI^TYP^ENUM = 11 '<' 8 + 2;
CPRAGMA Command
The CPRAGMA command turns on
#pragma
generation for C output. NOCPRAGMA
changes each
#pragma
to a comment in C output so you can port the C code from
DDL to another system whose C compiler does not support
#pragmas
.
CPRAGMA
turns on
#pragma
generation for C output. CPRAGMA is the default.
NOCPRAGMA
encloses
#pragma
generation within the C comment characters.
Caution. The memory layout of another machine to which you port C code might be different
from the layout on a HP NonStop system.
[ NO ] CPRAGMA