Autor Beitrag
HenryHux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 542
Erhaltene Danke: 33

Windows 7 Premium
Delphi XE, Eclipse
BeitragVerfasst: Sa 02.10.10 19:20 
Hi,

ich habe hier diese Schleife:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
  
repeat
  card1:=0;
  card2:=0;
  card3:=0;
  cardopp3:=0;
  readin1.Click;
  wait(500);
  readin2.click;
  wait(500);
  readin3.Click;
  wait(500);
  stop:=stop+1;
  if stop>50 then break;
until (card1>0and (card2>0and (card3>0and (cardopp3>0);

Wenn sie startet, läuft sie einmal korrekt bis zum Ende. Doch dann wiederholt sich nur noch readin3.click. und nicht mehr die beiden ersten. Wieso?


EDIT: War zu doof, und habe in readinclick3 noch eine Schleife gehabt :D
sry