Hi,

I get this error from a very simple class:

Runtime error 216 at 0x0805A735
  0x0805A735
  0x080481FF  TCONFIG__PRINT,  line 29 of configclass.pas
  0x0805BE35  main,  line 29 of forum.pas
  0x080480B0

Any ideas ?

cheers
James
unit configClass;

interface

type
	TConfig = class(TObject)
		constructor Create;
		private
			fileName:	String;
		public
			temp:	String;
			procedure print;
	end;

implementation

constructor TConfig.Create;
begin
	temp := 'hello';
	inherited Create;
end;

procedure TConfig.print;
begin
	writeLn('#Forum Configuration:');
	writeLn('#');

	writeLn('/General/');
	writeLn('templateDir=', temp);
	writeLn;
end;

end.

Reply via email to