Autor Beitrag
Joker_07
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: Do 17.07.08 18:38 
ich schreibe ein programm der aus einem stinggrid die noten und die fächer rausliest, da das feld (Anzahl der Fächer)*6 ist und ich alles in ein dynamisches array speichern möchte. Da aber die anzahl der fäcer varrieren kann, muss ich ein dynamisches array feld benutzen.aber da s ja ein mehdemensionales array sein muss komm ich hier nicht weiter, ein stinknormales array würde ja so aussehen.. Wert: array [0..(Anzahl der fächer),0..6] of datentyp.

Wie mache ich das nun bei einem dynamischen feld ?

danke schon im vorraus
mfg joker_07
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 17.07.08 18:50 
Kannst Du mit Array of Array of DatenTyp machen. Mehr dazu, auch wie man dann die Größen festlegt, findest Du hier

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Do 17.07.08 18:50 
ausblenden Delphi-Quelltext
1:
Array of Array[0..5] of Typ