Original Post
This is the most confusing thing I''ve ever seen. For some reason, this code won''t work...
procedure DoSomeStuff;
var
MyStrings: TStrings;
begin
MyStrings:=TStrings.Create;
MyStrings.Add(''Hello'');
// do some stuff here
MyStrings.Free;
end;
The code works like normal, but when the line
MyStrings.Add(''Hello'');
is executed, it causes an Abstract Error. To be honest I don''t know what an abstract error is (and I don''t really care) but whatever it is should it be appearing like this? Or am I missing something?
~ There''s no substitute for failure ~