Autor Beitrag
etsch
Hält's aus hier
Beiträge: 3



BeitragVerfasst: So 20.11.16 01:55 
Hi leute,

ich hab Folgendes Array
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
Record1 = record
  x           : real;
  y           : real;
  z           : array of real;
  wert        : array of real;
  bezeichnung : String;
end;

Array1 :Array of Record1;

Jetzt will ich als Beispiel die Länge von Array1[4].z ändern. Leider hab ich keine Ahnung wie.

Das Komplette Arry soll dynamisch bleiben, da es bei jeden Programmstart mit verschiedenen Daten gefüttert wird.

Kann mir bitte einer weiter helfen?

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 20.11.16 02:38 
Moin und :welcome: im Forum!

user profile iconetsch hat folgendes geschrieben Zum zitierten Posting springen:
Jetzt will ich als Beispiel die Länge von Array1[4].z ändern.
Sollte eigentlich mit SetLength(Array1[4].z, <neue Länge>); gehen. :idea:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
etsch Threadstarter
Hält's aus hier
Beiträge: 3



BeitragVerfasst: So 20.11.16 19:58 
wirklich so einfach? :shock:



ok dann danke und sorry :lol: