Autor Beitrag
adler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 08.01.04 15:05 
Hi!

Habe ein Problem mit den arrays :-(
Ich möchte die länge des arrays herausbekommen.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
  for i := 0 to length(wpe_open.ordner)-1 do
  begin
    if wpe_open.ordner<>nil then
    begin
      ordner := explode(wpe_open.ordner[i],'\');
      combobox1.AddItem(wpe_open.ordner[i],ComboBox1);
      if length(ordner) > 0 then
      begin
        VLE.InsertRow(ordner[length(ordner)],wpe_open.ordner[i],True);
      end;
    end;
  end;

Hab das so gemacht, aber der gibt in length(ordner); nichts zurück.[/code]

Moderiert von user profile iconPeter Lustig: Topic Verschoben

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
MKehrer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 114

NT, 2000
D6
BeitragVerfasst: Do 08.01.04 16:38 
Was m einst Du mit "gibt nichts zurück" ?

wie ist denn das Array ordner definiert?

probier´s mal mit der Func High

_________________
Manfred
Was Du siehst ist in Dir (Smile)
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 08.01.04 16:58 
MKehrer hat folgendes geschrieben:
Was m einst Du mit "gibt nichts zurück" ?

Inaccessible Value
MKehrer hat folgendes geschrieben:
wie ist denn das Array ordner definiert?

Tarray = array of string;
und
ordner: Tarray;

MKehrer hat folgendes geschrieben:
probier´s mal mit der Func High

Func High?

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Do 08.01.04 17:18 
dir Funktion "high" gibt an bis zu welcehem Index das array geht...
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 08.01.04 17:35 
Danke ;)
Immer wieder eine Freude mit dir Fiji, auch danke an den anderen, Name vergessen ^^

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.