CreateObject Function

Crea un oxetu UNO. En Windows, tamién pue crear oxetos OLE.

Esti métodu crea casos del tipu que se pasa como parámetru.

Sintaxis:

oObj = CreateObject( type )

Exemplu:

Type address

    Name1 As String

    City As String

End Type

 

Sub main

    myaddress = CreateObject("address")

    MsgBox IsObject(myaddress)

End Sub