Following is the code in which I try to declare class variable:
type TMyClass = class
private
class function ABC(myID : integer): string;
public
class var s: String;
class function XYZ: string;
end;
I am getting error: PROCEDURE or FUNCTION expected. Is there any change in syntax of class variable in Delphi 7?