AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

konstantes array eines records

Ein Thema von darkmonk · begonnen am 29. Feb 2004 · letzter Beitrag vom 29. Feb 2004
Antwort Antwort
darkmonk

Registriert seit: 29. Feb 2004
6 Beiträge
 
#1

konstantes array eines records

  Alt 29. Feb 2004, 12:48
Hi

ich wollte wissen wie man ein konstantes array eines record definiert.

gruss monk
  Mit Zitat antworten Zitat
MrKnogge

Registriert seit: 9. Jun 2003
Ort: Pforzheim
2.458 Beiträge
 
Delphi 2007 Professional
 
#2

Re: konstantes array eines records

  Alt 29. Feb 2004, 12:57
Um so etwas zu erfahren, markiert man den ausdruck "const" und drückt "F1",
aus Konstanten-Record und Konstaten-Array kann man dann folgendes zusammenwürfeln:
Delphi-Quellcode:
type
  TStatus = record
    Bereit : boolean;
    Text : string;
  end;

const
  Status : Array[0..1] of TStatus = (
  (A: true; B: 'Wir sind bereit'),
  (A: false; B: 'Dauert noch'));
Christian Bootz
Einstein ist tot, Newton ist tot,
und mir ist auch schon ganz schlecht...
  Mit Zitat antworten Zitat
darkmonk

Registriert seit: 29. Feb 2004
6 Beiträge
 
#3

Re: konstantes array eines records

  Alt 29. Feb 2004, 13:04
thx
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:30 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