For resons I dont want to go into I have a Create Method Template of;
However I want somtimes to simple change all the fields, so I do this
Now the questions,
Concept question:
If Im not allocating the "Self" returned from Set:TTheType, was it passed to me, or did the compiler not bother?
Aplication Question;
If I had a Method that didnt return Self, (SetNoReturn for example), but did the same thing. Would that method run quicker?
Method Set:TTheType (ParamList:Various) Self.AllTheFields = ParamList Return Self EndMethodSo, Im sitting in my code and I make a new TTheType by
MyOneOfThese:TTheType = New TTheType.Set(ParamList)Ok. So assume that that bit is fine, and I dont change it.
However I want somtimes to simple change all the fields, so I do this
MyOneOfThese.Set (NewParamList)
Now the questions,
Concept question:
If Im not allocating the "Self" returned from Set:TTheType, was it passed to me, or did the compiler not bother?
Aplication Question;
If I had a Method that didnt return Self, (SetNoReturn for example), but did the same thing. Would that method run quicker?