packed array[Boolean, 1..10, TShoeSize] of Integer;
is equivalent to
packed array[Boolean] of packed array[1..10] of packed array[TShoeSize] of Integer;
The standard functions
Low
and
High
operate on array type identifiers and variables. They return the low and high
bounds of the array's first index type. The standard function
Length
returns the number of elements in the array's
first dimension.
A one-dimensional, packed, static array of Char values is called a packed string. Packed-string types are compatible
with string types and with other packed-string types that have the same number of elements. See Type compatibility
and identity.
An array type of the form
array[0..x] of Char
is called a zero-based character array. Zero-based character
arrays are used to store null-terminated strings and are compatible with PChar values. See Working with null-
terminated strings.
Dostları ilə paylaş: