Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 15.04.06 16:08 
Ich benutze folgende Prozedur:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
procedure DeleteSubject(Sender : TObject);
var i,i2,row:integer;
begin
  row:=
  if row<High(EditsArray) then
  begin
    for i := row to High(EditsArray) do
    begin
      for i2 := 0 to 5 do
      begin
        EditsArray[i][i2]:=EditsArray[i+1][i2];
      end;
    end;
    SetLength(EditsArray,(Length(EditsArray)-1),6);
  //hier zeigt der Compiler untenstehende Fehlermeldung:  
  end;
end;


[Fehler] functions.pas(77): Inkompatible Typen: 'Integer' und 'procedure, untyped pointer or untyped parameter' :autsch:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Sa 15.04.06 16:10 
user profile iconMarco D. hat folgendes geschrieben:
Ich benutze folgende Prozedur:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
procedure DeleteSubject(Sender : TObject);
var i,i2,row:integer;
begin
  row:=
  if row<High(EditsArray) then
  begin
    for i := row to High(EditsArray) do
    begin
      for i2 := 0 to 5 do
      begin
        EditsArray[i][i2]:=EditsArray[i+1][i2];
      end;
    end;
    SetLength(EditsArray,(Length(EditsArray)-1),6);
  //hier zeigt der Compiler untenstehende Fehlermeldung:  
  end;
end;


[Fehler] functions.pas(77): Inkompatible Typen: 'Integer' und 'procedure, untyped pointer or untyped parameter' :autsch:


kann es daran liegen?

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 15.04.06 16:12 
:autsch:
Ja, das habe ich übersehen. :zustimm:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot