Does BMax support Operators and User Def. Types?

BlitzMax Forums/BlitzMax Programming/Does BMax support Operators and User Def. Types?

Gabriel(Posted 2006) [#1]
I'm guessing it doesn't, but some of the good stuff is squirreled away in obscure areas of the docs I always miss, so I thought it was worth asking.

I'm trying to create a Blitz type to emulate a C Class, and if not, I'll just have to create additional methods with logical names, but it would be much nicer to be able to define operators for it instead.


FlameDuck(Posted 2006) [#2]
No. BlitzMAX does not support operator overloading.

I don't understand the other half of your question. Sorry.


Gabriel(Posted 2006) [#3]
S'ok, you don't need to. I know how to do it if Blitz doesn't support it. But to clarify for curiosity's sake, the C Class I'm trying to Blitz-ify has operators defined which allow a lot of important operations for the class. Without them, the class would not be worth using. So if I can't overload the operators ( thank you for correcting my terminlogy here, I'm entirely self ( badly ) taught. ) then I will just have to add some extra methods for those operations.