05-19-2021, 01:16 AM
Hi Denville,
Thanks for the feedback.
gInternalFiles used to be a variable and it became a function with the same name. As you may know, in Delphi you can omit the parenthesis of function calls if there are no parameters, so gInternalFiles alone works for both a variable referencing an object or a function returning an instance of the same object. The same is not true for C++, so you are correct.
Thanks for the feedback.
gInternalFiles used to be a variable and it became a function with the same name. As you may know, in Delphi you can omit the parenthesis of function calls if there are no parameters, so gInternalFiles alone works for both a variable referencing an object or a function returning an instance of the same object. The same is not true for C++, so you are correct.