Autor Beitrag
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Do 05.01.06 11:37 
Hallo,

arbeite gerade mit Pos und möchte nur das machen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
var 
  a:Integer;
begin
  {...}
  a:=Pos('a','Hallo');

nur dieses kleine Ding steht in der Procedure Button1 Click! Und jetzt kommt die Delphi Fehlermeldung:
Zitat:
'.' erwartet, aber '(' gefunden


Sach mal spinn ich? Kann das sein? Ist mein Delphi kaputt?

Moderiert von user profile iconTino: Delphi-Tags hinzugefügt
Moderiert von user profile iconTino: Quote-Tags hinzugefügt
DarkHunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 477

Win XP
D3 Prof, D2005 PE
BeitragVerfasst: Do 05.01.06 11:38 
könntest du uns vielleicht ein paar Zeilen Code mehr überlassen, so hilft das recht wenig.

_________________
I believe that every human has a finite number of heart-beats. I don't intend to waste any of mine running around doing exercises.
- Neil Armstrong
wwwdirk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


D6 Prof / D2005 Prof
BeitragVerfasst: Do 05.01.06 11:40 
Überprüf mal deine begin-end Kombis und ;!
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Do 05.01.06 12:34 
Also, die ganze Anwendung hat nur einen Button.
Das einzige was da steht ist :
ausblenden Delphi-Quelltext
1:
ShowMessage(IntToStr(Pos('a','Hallo')));					

und
Oh was ist das??
Ich hab einfach Delphi neu gestartet und es tut??!?
Egal! danke!!

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt