Type Statement /text/sbasic/shared/03090413.xhp
Type statement Type Statement Define non-UNO data structures.
A Type structure is an ordered collection of data fields, that can be manipulated as a single item. Type statement diagram Type struct_name DataField1 As TypeName1 DataField2 As TypeName2 (...) End Type ' struct_name Extended types such as Type statement structures, UNO objects or ClassModule objects are valid typenames. A Type structure scope is that of the module it belongs to. Type Customer Name1 As String City As String End Type ' Customer structure Sub setCustomer Dim oCustomer as New Customer oCustomer.Name1 = "The Document Foundation" oCustomer.City = "Berlin" End Sub Enumerations can be created using Type statement definitions. Calling Python Scripts from Basic illustrates that mechanism.
CreateObject function
+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/inc/srchuno.hxx
AgeCommit message (Expand)Author
2015-10-28com::sun::star->css in scNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-09-03sc: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
2015-03-06V801: Decreased performanceCaolán McNamara
2014-06-25remove whitespaceMarkus Mohrhard
2014-04-19fixincludeguards.sh: scThomas Arnhold
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann