I'm probably having a major brainfart here, hence, Beginner's Area.
Suppose I have code like:
...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.
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.