Guess what,I found the problem.
Instead of this
I replaced it with this.
I realized that the tscore list didn't have anything in it,so I had to create new objects.Sorry if you guys already knew this,maybe this will help someone else?
Thanks,
mudcat
Instead of this
While Not Eof(Read_file) For Local x:tscore=EachIn tscore.list x.name=ReadLine(Read_file) x.score=Readint(read_file) x.level=Readint(read_file) Next Wend
I replaced it with this.
While Not Eof(Read_file) Local x:tscore=New tscore x.name=ReadLine(Read_file) x.score=Readint(read_file) x.level=Readint(read_file) tscore.list.addlast x Wend
I realized that the tscore list didn't have anything in it,so I had to create new objects.Sorry if you guys already knew this,maybe this will help someone else?
Thanks,
mudcat