Autor Beitrag
bruder jonas
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 24.07.02 14:40 
hallo

bei folgendem code bekomme ich einen e/a-fehler:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
var i,z:integer;
    f: file of Byte;
    size,gesamt:longint;
begin
     z:=0;
     For i := 0 To box_file.Items.Count - 1 Do
     begin
     If box_file.Selected[i] Then
      AssignFile(f,box_file.items[i]);
     reset(f);
     size:=filesize(f);
      z:=z+1;
     end;

ich will folgendes erreichen.
es soll angezeigt werden, wieviele dateien einer fileListBox ausgewählt wurden und wie groß diese dateien zusammen sind.

was mache ich falsch?
wwerner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 185



BeitragVerfasst: Mi 24.07.02 14:49 
bei deiner if anweisung fehlt ein beginn und end

_________________
Gruß

Wolfgang

----------
zu hause ist es doch am schönsten
bruder jonas Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 24.07.02 15:01 
Titel: danke das war es, nun funzt es
danke dir.

bJ