Type Statement/text/sbasic/shared/03090413.xhpType statementType StatementDefine non-UNO data structures.A Type structure is an ordered collection of data fields, that can be manipulated as a single item.Type struct_name DataField1 As TypeName1 DataField2 As TypeName2 (...)End Type ' struct_nameA Type structure scope is that of the module it belongs to.Type Customer Name1 As String City As StringEnd Type ' Customer structureSub setCustomer Dim oCustomer as New Customer oCustomer.Name1 = "The Document Foundation" oCustomer.City = "Berlin"End SubEnumerations can be created using Type statement definitions. Calling Python Scripts from Basic illustrates that mechanism.CreateObject function