I tried to write a small Chatbot (Eliza / Alice).
Well, now I have but problems with reading the . XML file.
If only it were ne list or a map it would still.
It is a mixture of list, map and inserted words.
I do not understand correctly.
Can someone please help me there?
Sub Process_Globals
Type MyType (Pattern As String, Template As String, lis As List)
Private Current As MyType
Sub Parser_EndElement
'fill Current fields
'...
If Name = "category" Then
m.Put(Current.Pattern, Current)
Dim Current As MyType
Current.Initialize
End If
End Sub