I am trying to check a list to see if a particular instance of a Type, of many in the list, is present.
If I do the following...
Type Coords(X as Byte, Y as Byte)
...
Dim positions as List
Dim posn as Coords
...
posn.X=10 : posnY=15
positions.InsertAt(5, posn)
why can I not...
If positions.Get(5).X = 10 then
If I do the following...
Type Coords(X as Byte, Y as Byte)
...
Dim positions as List
Dim posn as Coords
...
posn.X=10 : posnY=15
positions.InsertAt(5, posn)
why can I not...
If positions.Get(5).X = 10 then