![]() |
Record-Konstante
Hallo!
Wie kann man denn einen Record als Konstante deklarieren? also so nicht:
Delphi-Quellcode:
const
Name: record a = 'Eintrag1'; b = 'Eintrag2'; end; |
Re: Record-Konstante
Moin!
Record vorher definieren und dann eine Konstante von dem Typ:
Delphi-Quellcode:
Es könnte sein, das bei der Konstantendefinition ein Komma anstatt einem Semikolon hin muss...
Type
TNameRec = Record a : String; b : String; End; Const ConstNameRecord : TNameRec = (a: 'dies'; b: 'das'); MfG Muetze1 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:40 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