Think you need to cast the return to player.
e.g. P:player=player(player_list.first())
but you could post the error you're getting or the code you're using to help.
e.g. P:player=player(player_list.first())
but you could post the error you're getting or the code you're using to help.
Local player_list:TList = CreateList() Type TPlayer Field num:Int End Type For Local x:Int = 1 To 10 temp:TPlayer = New TPlayer temp.num = x ListAddLast player_list , temp Next Local first_player:TPlayer = TPlayer(player_list.first()) Print first_player.num Local last_player:TPlayer = TPlayer(player_list.last()) Print last_player.num