A oto fragment kodu:
type tneuron=class
waga:array[1..5]of real;
we:array[1..5]of real;
wy:real;
e:array[1..5]of tedit;
constructor Create;
end;
var Form1: TForm1;
n:array[1..3]of tneuron;
implementation
constructor Tneuron.Create;
var i : byte;
begin
for i:=1 to 5 do
e[i]:=tedit.Create(self);
end;
Czemu to nie działa ?? kompilator "czepia" się tworzeniu e[i].
Ktoś może mnie uświadomić co jest nie tak ??
POZdroWIeNIa