Code: Alles auswählen
Tameise=class
public
status: boolean;//false=tot; true=lebend;
wo_bin_ich: tpoint;
function move(wohin: boolean): boolean;//1hoch 2runter 3rechts 4hoch
function schaue_um_dich: was_wo;
procedure entstehe;
procedure free;
end;
unit1.pas(22,14) Error: Forward declaration not solved "Tameise.move(Boolean):Boolean;"
unit1.pas(23,14) Error: Forward declaration not solved "Tameise.schaue_um_dich:<record type>;"
unit1.pas(24,15) Error: Forward declaration not solved "Tameise.entstehe;"
unit1.pas(25,15) Error: Forward declaration not solved "Tameise.free;"
unit1.pas(9,18) Hint: Unit "StdCtrls" not used in Unit1
unit1.pas(110) Fatal: There were 4 errors compiling module, stopping
Diese entstehen bei allen 4 prozeduren/fuktionen