Go to the first, previous, next, last section, table of contents.

Constructors

A constructor is an expression used to represent a set, record, or array value. Constructors are used to initialize variables and constant values. The general form of a constructor is

<type> "{" <expr1> "," ... "," <exprn> "}"

where <type> is a set, record, or array type, and <expr1> .. <exprn> are expressions used to initialize the components of <type>.


Go to the first, previous, next, last section, table of contents.