Author Topic: Pascal Game by Pascal Gaming s350g  (Read 247 times)

brettwiScade

  • Guest
Pascal Game by Pascal Gaming s350g
« on: November 04, 2023, 03:34:29 AM »
Прошу прощения, что я вмешиваюсь, но, по-моему, есть другой путь решения вопроса.
 Note that a constructor always acts like a class method when called in a standard vogue (MyInstance := TMyClass.Create(…);). Although it’s attainable to also name a constructor from inside the class itself, like a standard method, after which it acts like a normal methodology. This can be a useful characteristic to "chain" constructors, when one constructor (e.g. overloaded to take an integer parameter) does some job, after which calls another constructor (e.g. parameter-less).