Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi konstante arrays? (https://www.delphipraxis.net/37520-konstante-arrays.html)

glkgereon 6. Jan 2005 19:14


konstante arrays?
 
kann ich einen array als konstante deklarieren?

wie?

mirage228 6. Jan 2005 19:15

Re: konstante arrays?
 
Hi,

das geht so:

( das heisst dann "typisierte Konstante" )

Delphi-Quellcode:
const
  Variable: array[Unten...Oben] of DeinTyp = ( {Vorinitialiserte Werte} );
mfG
mirage228

glkgereon 6. Jan 2005 19:38

Re: konstante arrays?
 
Thanks!!!! :thumb: :thumb: :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:28 Uhr.

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