Hello!
I am doing the following:
For i = 0 To 11
Dim sCaption As String
sCaption="Some caption"
If i<2 Then
Dim nThisMap As Map
nThisMap = ListOfMaps.Get (i)
sCaption = nThisMap.GetValueAt(1)
End If
The IDE breaks in the line
sCaption = nThisMap.GetValueAt(1)
I am not sure what I am doing wrong.
When I hover the mouse over "nThisMap", I can see that it is correctly filled with values and keys. There are 5 values/keys, so trying to retrieve the value at position 1 should not fail.
Does anybody see where I went wrong?
Thank you.
I am doing the following:
For i = 0 To 11
Dim sCaption As String
sCaption="Some caption"
If i<2 Then
Dim nThisMap As Map
nThisMap = ListOfMaps.Get (i)
sCaption = nThisMap.GetValueAt(1)
End If
The IDE breaks in the line
sCaption = nThisMap.GetValueAt(1)
I am not sure what I am doing wrong.
When I hover the mouse over "nThisMap", I can see that it is correctly filled with values and keys. There are 5 values/keys, so trying to retrieve the value at position 1 should not fail.
Does anybody see where I went wrong?
Thank you.