Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Array als Konstante belegen (https://www.delphipraxis.net/44329-array-als-konstante-belegen.html)

blackfoxx 17. Apr 2005 22:47


Array als Konstante belegen
 
Hi Leute.
Ich scuhe eine Möglichkeit einen array als Konstante mit Daten zu füllen. Er ist zweidimensional und ich weiß nicht, wie ich ihn direkt mit Daten deklarieren kann.
Ich hoffe ihr könnt mir helfen.
Danke :gruebel:

Basilikum 17. Apr 2005 23:14

Re: Array als Konstante belegen
 
Delphi-Quellcode:
Const
  A : Array[1..5,1..3] Of Integer = ((11,12,13),(21,22,23),(31,32,33),(41,42,43),(51,52,53));


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:09 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz