Code:
var
Tpar = class
// data
// constructor, destructor, etc.
end;

 
procedure test;
begin

par_001        := tpar.Create;
foo_x          := tpar.Create;
nice_weather   := tpar.Create;


end;
Why isn't this implemented, it's much easier.
Why do I have to tell the compiler what names I will use in advance. It strikes me as being a bit.. stupid. Why isn't compiler smart enough to recgnize a creation of an object and do the rest.


Now, I am forced to use only new () and Dispose () (the old fashioned way), because I don't want the compiler to know what instances i'm going to use.