Why is this not working?

BlitzMax Forums/BlitzMax Beginners Area/Why is this not working?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@ WarrenM
Thanks for the clarification, I think I get abstract methods better now. But even without any abstract reference I still get a "compile error" :)

[edit] Actually you guys are right it was that I was abstracting tSprite. Still I wonder why your not allowed to create an instance of an abstract class.

@ Bot Builder
Your right I should have posted what line number the error pointed to. I did however post the error message. But to save anyone the time of reading previous posts the error and location are:
LINE 23< CHAR 3:
      "Local o:tSprite = New tSprite"
Compile Error
Unable to create new object of abstract "Type"
As for the reason why I wanted to use tSprite as a base class; I wanted to create a tAnimatedSprite class that derived from the tSprite class.

Am I going about this all wrong? Should static and animated sprites be in the same class?

Thanks for your help guys!