Hi
When i try to instanciate a new Object and have accidentally missed the equal sign
then the Object isn’t instanciated without compiler error (only a warning).
The question for me is what does this statement mean ? Is it treated as a label ?
method Test
var o:Object;
begin
o : new Object; // ← missed equal sign
end;
Trying to instanciate it this way
method Test
begin
var o : new Object; // ← missed equal sign
end;
leads to an error (as expected)
Thanks