Very techy. Another cool feature (AFAIK it's only in C++) - Operator Overloading. Basically, you can do stuff like this:
It lets you define custom functions for stuff like +/-/divide/multiply/equals/comparison and all the rest of it.Code:Dim A as New MyClass Dim B as New MyClass A = "hello" ' ==> A.m_Str = "hello" B = "another" ' ==> B.m_Str = "another" Debug.Print A + B ' ==> prints "hello_another"




. Another cool feature (AFAIK it's only in C++) - Operator Overloading. Basically, you can do stuff like this:
Reply With Quote