Required change in TList

BlitzMax Forums/BlitzMax Programming/Required change in TList

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.

Of course!
The only thing you need is, if the code where your module is imported needs to instantiate your extended Tlist, it has to be declared like
MyObject:gabrielmodserver.gabrielmodule.tlist = new (gabrielmodserver.gabrielmodule.tlist)

don't forget the ( ) in the new sentence, as the New operator has priority over the "." operator (weird, but it works this way).

If this TList is internally used by your module, you soudn't worry about that. If not, as your TList extends the existing one, a given instance should be late-binded with the original TList object without any problem, but I have not tested it.