Why does it create same name twice instead of two different names in the lists?
Strict 'How many Players to create? Global Number_of_Player = 2 Type Player Field id:Int Field name:String Field skill_level:Int End Type 'Create a list to store all Player Global PlayerList:TList = CreateList() Local Boss:Player Boss = New Player Boss.id = 1 Boss.name = "David R" Boss.skill_level=77 Boss.id = 2 Boss.name = "Paul C" Boss.skill_level=17 Graphics 800, 600 Drawtext "Num"+" Name"+" Skill Level",0,0 ' Create a bunch of new Player For Local N = 1 To number_of_Player ' Number_of_Player is a Global Local NewBoss:Player 'Put the address of this new Boss into variable Player NewBoss = New Player DrawText Boss.ID,0,50+N*10 drawtext Boss.name,50,50+N*10 Drawtext Boss.skill_level,150,50+N*10 'Put this Player called NewBoss into our PlayerList ListAddLast( PlayerList, NewBoss ) Next While Not KeyDown(Key_Escape) flip Wend