$param(variable) := $param(typename).Create;
try
|
finally
$param(variable,sync=1).Free;
end;
The IDE contains this updated macro, but unfortunately if you ever added/edited one of the macros in the IDE, it has saved all of them at this state, and will not update them. (unless you delete the config file)