New() = constructor?

BlitzMax Forums/BlitzMax Programming/New() = constructor?

That's the way to do it. Well, it's one way, but it's the more "object-oriented" way. You'll find examples of another way in the samples, though, where they use something like "Function Create", put the constructor code in there, and call it from external code.

I prefer writing a New method, since it extends the base type and is called automatically.