Autor Beitrag
Leathl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Sa 26.04.03 22:55 
---


Zuletzt bearbeitet von Leathl am Sa 15.08.09 15:51, insgesamt 1-mal bearbeitet
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Sa 26.04.03 23:44 
---


Zuletzt bearbeitet von Leathl am Sa 15.08.09 15:52, insgesamt 1-mal bearbeitet
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: So 27.04.03 23:21 
Hallo,

so weit ich das jetzt verstanden habe sagt der Parameter Ok doch aus ob die Datei "Bad" ist oder nicht, oder? Wenn ja, dann reicht eine einfache IF-Anweisung:
ausblenden Quelltext
1:
2:
3:
4:
5:
procedure CheckSFVCallBack(FileName: string; OK: boolean); 
begin 
  If not OK Then
    Form1.ListBox4.Items.Add (ExtractFileName (FileName); 
end;

Gruß
Tino
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mo 28.04.03 15:48 
---


Zuletzt bearbeitet von Leathl am Sa 15.08.09 15:52, insgesamt 1-mal bearbeitet
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 28.04.03 16:00 
Hi!


Was ist eigentlich ein SFV-Checker?

Zitat:
nee, OK=true heisst, dass das File OK ist (oder?)!


Du hast doch den Parameter in deiner Prozedur definiert. Wenn du nicht weisst, was er bedeuten soll, wer dann?
Tino hatte übrigens in seinem Code "If not OK Then ..." geschrieben, meinte also das gleiche wie du.

Cu,
Udontknow