CreateObject Function

ཡུ་ཨེན་ཨོ་དངོས་པོ་ཅིག་གསར་བསྐྲུན་འབད། ཨོ་ཨེལ་ཨི་དངོས་པོ་ཚུ་ སྒོ་སྒྲིག་གུ་ཡང་གསར་བསྐྲུན་འབད་བཏུབ།

ཐབས་ལམ་དེ་གིས་ཚད་བཟུང་བཟུམ་སྦེ་རྩིས་སྤྲོད་ཡོད་མི་དབྱེ་བ་གི་དུས་སྐབས་ཚུ་གསར་བསྐྲུན་འབདཝ་ཨིན།

Syntax:

oObj = CreateObject(type)

Parameters:

type: the type of the object to be created, as a string.

Example:


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

Please support us!