Istruzione Type

Definisce strutture di dati non-UNO (struct).

Uno struct è una raccolta ordinata di campi di dati manipolabile come singolo elemento.

Sintassi:

Type StructName

 DataField1 As TypeName1

 DataField2 As TypeName2

 (...)

End Type

Esempio:

REM  *****  BASIC  *****

Type customer

 Name1 As String

 City As String

End Type

Sub setCustomer

 Dim oCustomer as new customer

 oCustomer.Name1 = "The Document Foundation"

 oCustomer.City = "Berlin"

End Sub