Impossible to extend native types?

BlitzMax Forums/BlitzMax Programming/Impossible to extend native types?

RepeatUntil(Posted 2005) [#1]
I am surprised: it doesn't seem possible to extend BlitzMax type like String
Type StringExt Extends String
End Type

This does not compile!
What if I want to extend the String object to add some extra-functionnality to it?? That could be VERY useful!!

Is it really not possible? Whyyyy??


GW(Posted 2005) [#2]
maybe its declared Final


Robert(Posted 2005) [#3]
The code for the BlitzMAX string type is written in C, not BlitzMAX. Perhaps that is the problem.

Interestingly, quite a few other languages make the string type final.