*** It is possible create with PB an structure like this: ***
type MyReg
Name as string * 20
Address as string * 30
Phone as string * 12
end type
type MyLlist
Count as integer
Register(100) as MyReg
end type
Dim aList as MyList
*** And add a record to the list using this syntax: ***
Incr aList.Count
List1.Register(aList.Count).Name = "Joseph"
List1.Register(aList.Count).Address = "Mexico 10"
List1.Register(aList.Count).Phone = "1234567890"
------------------
type MyReg
Name as string * 20
Address as string * 30
Phone as string * 12
end type
type MyLlist
Count as integer
Register(100) as MyReg
end type
Dim aList as MyList
*** And add a record to the list using this syntax: ***
Incr aList.Count
List1.Register(aList.Count).Name = "Joseph"
List1.Register(aList.Count).Address = "Mexico 10"
List1.Register(aList.Count).Phone = "1234567890"
------------------
Comment