CreateObject Function

Izveido UNO objektu. Uz Windows, var arī izveidot OLE objektus.

This method creates instances of the type that is passed as parameter.

Syntax:

oObj = CreateObject( type )

Example:


Type address
    Name1 As String
    City As String
End Type
 
Sub main
    myaddress = CreateObject("address")
    MsgBox IsObject(myaddress)
End Sub

Please support us!