I've always been under the impression that TLists only works with Objects.
If I try to compile this code
The compiler will complain that it expect an object for the eachin index.
So is it correct for me to make a statement that TList works with objects only. Skidracer (in this post seems to suggest it does work with int). How would you use it w integers correctly?
If I try to compile this code
mylist:TList=CreateList() For i=0 To 5 ListAddLast MyList,i Next For s=EachIn MyList Print s Next
The compiler will complain that it expect an object for the eachin index.
So is it correct for me to make a statement that TList works with objects only. Skidracer (in this post seems to suggest it does work with int). How would you use it w integers correctly?