Autor Beitrag
Silence
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58

Win XP Prof
Delphi 7
BeitragVerfasst: Fr 11.08.06 14:08 
hi,

ich hab nen text in ner variablen. und jedesmal wenn ein wert aus dem string rausgestrichen wird wirds kürzer. ich muss wissen wann die variable leer is aber ich raffs net so ganz.

Silence
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Fr 11.08.06 14:11 
Moin!

:gruebel:
ausblenden Delphi-Quelltext
1:
2:
if (StringVar = '') then
  ShowMessage('Ende');

oder was? ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
azubi_20
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 593

WinXP SP2, Ubuntu 8.4
D7 Enterp., D2005 Prof., Java (Eclipse 3.4.0)
BeitragVerfasst: Fr 11.08.06 14:12 
ausblenden Delphi-Quelltext
1:
if (strVar = '') then // prüft ob die String-Variable 'strVar' leer ist					

meinst du das ?

Edit : user profile iconNarses war schneller :-)
Silence Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 58

Win XP Prof
Delphi 7
BeitragVerfasst: Fr 11.08.06 14:43 
das problem is nur das meine ausgabe stimmt solange ich es ohne schleife mach und wenn eine drin is dann stimmt schon nimmer. also netmal das erste ma. ich werd noch verrückt mit dem scheiß.
Miri
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 657


Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Fr 11.08.06 15:01 
dann lass uns deine schleife doch mal sehen, sonst können wir ja eh nur raten...