DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 87
PASCALBOUND Command
CONST CUSTOMER_CUSTNAME_KEY = 25454;
PASCALBOUND Command
The PASCALBOUND command sets the lower bound for Pascal arrays. This value is
stored in the dictionary with the field or group definition.
PASCALBOUND 0
assigns any subsequent Pascal arrays a lower bound of 0.
PASCALBOUND 1
assigns any subsequent Pascal arrays a lower bound of 1. PASCALBOUND 1 is
the default.
PASCALBOUND Command Guidelines
The following points are guidelines for using the PASCALBOUND command:
•
You can use the PASCALBOUND command as often as you need to set different
bounds for different arrays.
•
DDL uses the value in the PASCALBOUND command when writing an element to
the dictionary. After an element is in the dictionary, changing the PASCALBOUND
value has no effect on the Pascal output for that element. To change the
PASCALBOUND value for an entered element, you must replace the element in
the dictionary.
•
Pascal arrays are declared for fields and groups described with an OCCURS
clause, for fields described as TYPE CHARACTER, and for all fields described
with an alphanumeric picture.
•
If you specify PASCALBOUND 0, the array bounds are:
[0:number - 1]
In the array bounds,
number
is the number of occurrences of a field described with
an OCCURS clause, or the number of characters in a field described with an
alphanumeric PICTURE or a TYPE CHARACTER clause.
If you specify PASCALBOUND 1, the array bounds are:
[1:number]
PASCALBOUND { 0 | 1 }
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...