Autor Beitrag
ggehrma
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111

WinXP
D2005 Pers.
BeitragVerfasst: So 17.07.05 19:54 
Hallo.

ausblenden Delphi-Quelltext
1:
2:
3:
 
str1 := 'Test';
str1 := Delete(str1,1,1);


Bekomme dabei aber folgende Fehlermeldung: Inkompatible Typen: 'string' und 'procedure, untyped pointer or untyped parameter'

Wo liegt mein Fehler??

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt.
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: So 17.07.05 19:55 
weil delete eine procedure ist und keine Funktion, was man auch leicht mit der OH rausfinden könnte.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
ggehrma Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111

WinXP
D2005 Pers.
BeitragVerfasst: So 17.07.05 20:20 
Ok, hab meinen Fehler selber gefunden. Vielen Dank für die so wahnsinnig freundliche Hilfe Keldorn.