Composite Data Types

ViviFire supplies many elementary data types for you to use. But you can also assemble items of different types to make composite data types, for example, structures, arrays, and classes. You can assemble composite data types from elementary types and from different composite types. For example, you can make an array of structures, or a structure with array members.

Data types

A composite type is different from the type(s) of its components. For example, an array of Int32 does not have the type Int32.

You write an array type as the element type followed by an asterisk and the number of dimensions. For example, String*1 is an array with one dimension, and Boolean*2 has two dimensions.

Structure types

TODO

Array types

TODO

Class types

TODO

See also