Does this command actually exist
BlitzMax Forums/BlitzMax Programming/Does this command actually exist
| ||
Method RemoveFirst:Object() If it does would someone care to explain how I might use it. All i get are errors in compilations. Oh, and if this does not exisit why is it in the Docs? |
| ||
where in the docs did you see it ? I cant find it at all, are you busy with lists ? |
| ||
This command exist but as you see with method, this is OO only so you can't use it if you do not use TLIST and OO programming. |
| ||
I'm using lists and OO. This is the error : --------------------------- BlitzMax Application --------------------------- Compile Error Identifier 'RemoveFirst' not found --------------------------- OK --------------------------- This is the some of the code Method New () If BlockTList = Null Then BlockTList = New TList BlockTList.AddLast Self End Method '---------------------------------------------------------------- Method Destroy () RemoveFirst:Object() End Method |
| ||
lol No wonder ... should be Method Destroy () BlockTList.RemoveFirst () End Method If you want to use an objects method you should call it from this object ;-) |
| ||
Lol me stupid. |