I'm getting a listaddlist error it dont know what listaddlist is.
the error I get is something like unkown listaddlist
What am I doing wrong here..
' Strict Global GFX_Width : Int = 800 Global GFX_Height : Int = 600 Global GFX_Depth : Int = 16 'Graphics GFX_Width,GFX_Height,GFX_Depth Global SpaceObjectList:Tlist = CreateList() Type SpaceObject Field pos_x : Int Field pos_y : Int Field Velocity : Int Field name : int Method New () listaddlist SpaceObjectList,Self End Method Function Display_New() Print "A New Space Object was Created." cls End function End Type Type Planet Extends SpaceObject Field Image:Timage End Type Type Moon Extends SpaceObject Field Image:Timage End Type Type Star Extends SpaceObject Field Image:Timage End Type While Not KeyHit(KEY_ESCAPE) Cls FlushMem;Flip wend
the error I get is something like unkown listaddlist
What am I doing wrong here..