Autor Beitrag
Speed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

WIN XP
Delphi 2006 Prof.
BeitragVerfasst: Fr 16.09.05 05:55 
Schön' Guten Morgen an euch alle... :D

Ich brauch mal wieder eure Hilfe! :( :?:

Ich hab versucht, mir ne Klasse zu schreiben, bei der man für den Constructor ein 2 dimensionales Array übergeben muss.

(Fragt jetzt ne warum, is eben so!!! :twisted: ).

Das Problem is eben, dass Delphi immer gleich nach 'array' ein 'of' verlangt.

Also gehts ne mit: Array[1..30,1..15] of ...

Dann hab ichs probiert mit: Array of Array of ...
=> geht auch net

Ihr seid jetzt meine letzte Hoffnung *schleim*!!!

Greetz Speed
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Fr 16.09.05 07:01 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
type 
   TMy2DArray = array [1..30, 1..40] of integer;


[...]

procedure WasWeissIch(Parameter: TMy2DArray);



MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
Speed Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

WIN XP
Delphi 2006 Prof.
BeitragVerfasst: Fr 16.09.05 14:55 
Hey, ich dank dir. :D
darauf bin ich gar net gekommen.

Bis zum nächsten Mal
Speed