Autor Beitrag
Smartie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 205



BeitragVerfasst: Do 23.06.05 13:57 
Servus,

sagt mal, kann es sein, daß Stringlists oder Arrays in Ihrer Länge begrenzt sind?

WEil ich bekomme immer an Stelel nummer 167 einen Adressierungsfehler, wenn ich aus der Stringlist was in mein Array speichern will. und dabei geht das ganze noch bis 169 weiter.


Lieben Gruß und Danke

Smartie
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: Do 23.06.05 14:01 
Zitat:
... kann es sein, daß Stringlists oder Arrays in Ihrer Länge begrenzt sind?


Kann sein das es irgendwo seine Grenzen hat, aber ganz sicher nicht beim Index 167

Der Fehler wird wohl woanders liegen ... :roll:
ebs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 213

Suse Linux 9.2, Win 98, Win NT, Win XP, Win for Workgroups, Win XP SP2, Dos 6.1
D3 Prof, D2005 PE, Delphi 2006 Prof.
BeitragVerfasst: Do 23.06.05 14:03 
Vieleicht etwas Quelltext, um dir weiterhelfen zu können. Vieleicht nutzt du dyn. Arrays, wo du dann das Feld vergrößern musst :lol: 8)
Smartie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 205



BeitragVerfasst: Do 23.06.05 14:43 
Hat sich erledigt, ich lese die Stringlist aus einer Textdatei raus.

Tja, und da wird auch die Anzahl der Zeilen gezählt, wodurch auch die Längedes Arrays bestimmt wird.

Tja, und da waren unter 3 Leerzeilen, die nicht auffallen, weil Leerzeilen. Wurden aber mitgezählt *grrr*

Dennoch Danke,

Smartie