New() method

BlitzMax Forums/BlitzMax Beginners Area/New() method

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm probably having a major brainfart here, hence, Beginner's Area.

Suppose I have code like:
myVar:myType = New myType

...how do I pass parameters to the New() method? I know I can easily call another method manually after I create the object but surely there's a way you can do this by simply using New()? Don't want to use two lines of code if I can do the same job with one.