Type Statement
定义 non-UNO 数据结构(structs 结构体)。
结构体是有序的数据字段的集合,可以作为单个项目进行操作。
Type StructName
DataField1 As TypeName1
DataField2 As TypeName2
(...)
End Type
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