Type ABC(P As String, X As Int, Y As Int, Z As Int)
Dim xxx As List
...
SaveABCList(xxx)
...
xxx=LoadABCList()
...
Sub SaveABCList(locList As List)
Dim textline As String, StringList As List
For Each loc As ABC In locList
textline= loc.P & "|" & loc.X & "|" & loc.Y & "|" & loc.Z
StringList.Add(textline)
Next
File.WriteList(File.DirApp, "xx.inf", StringList)
End Sub
Sub LoadABCList() As List
Dim Elements() As String
Dim StringList As List = File.ReadList(File.DirAssets, "xx.inf")
Dim ReturnList As List
For Each textline As String In StringList
Elements= Regex.Split("\|", textline)
Dim loc As ABC
loc.Initialize
loc.P=Elements(0)
loc.X=Elements(1)
loc.Y=Elements(2)
loc.Z=Elements(3)
ReturnList.Add(loc)
Next
Return ReturnList
End Sub