Lipi Reference Lipi

Keywords

type

This keyword allows the declaration of user-defined types (UDT) from which scripts can instantiate objects. UDTs are composite types that contain an arbitrary number of fields of any built-in or user-defined type, including the defined UDT itself. The syntax to define a UDT is:

Syntax

                type <type_name> {
	<data_type> <field_name> [= <default_value>]
	...
}