Type typPerson(ID As Int, Name As String, Age As Int)
Dim Persons As Map
Persons.Initialize
Dim ID As Int = 4
Dim Person As typPerson = CreatetypPerson(ID, "Erel", 32)
Persons.Put(ID, Person)
Log(Persons.Get(4).As(typPerson).Name)
Public Sub CreatetypPerson (ID As Int, Name As String, Age As Int) As typPerson
Dim t1 As typPerson
t1.Initialize
t1.ID = ID
t1.Name = Name
t1.Age = Age
Return t1
End Sub