I almost crazy because of this bug, please somebody help me
I have declared a class in "type" sectioin like this
TActivityData = class
public
duration: integer;
date: string;
Data: string;
end;
and this is my code in "var" section
what is wrong with this code actually?
activities: TObjectQueue<TActivityData>;
and this is the error messages in IDE
main.pas(125,15) Error: Generics without specialization cannot be used as a type for a variable
main.pas(125,27) Error: Error in type definition
main.pas(125,27) Fatal: Syntax error, ";" expected but "<" found