Creating an Object

colboy

Member
Licensed User
Longtime User
I'm coming from the VB.NET world and have many objects that look something like this:

B4X:
Public Class objAsset
    Public SysAssetId As String
    Public UIC As String
    Public Description As String
    Public CurrentId As String
    Public SerialNumber As String
    Public SysModelId As String
    Public SysLocationId As String
    Public Active As Integer
    Sub Clear()
        SysAssetId = ""
        UIC = ""
        Description = ""
        CurrentId = ""
        SerialNumber = ""
        SysModelId = ""
        SysLocationId = ""
        Active = 1
    End Sub
End Class

I've looked at the forums, but can't find an answer. How can I replicate this functionality in B4A?

Thanks, Colin
 
Top