Pass Operators to Constructors

BlitzMax Forums/BlitzMax Programming/Pass Operators to Constructors

"mt:TMyType = New TMyType.Create()" this method is messy as it combines new and .create. It would be better to just do "mt:TMyType = TMyType.Create()" and call a function not a method.

Hwoever, I sometimes have an Init method and call this once a type has been created (or later if I don't want to destroy and remake the type).