Thema: Delphi Type Record

Einzelnen Beitrag anzeigen

Stillmatic

Registriert seit: 25. Apr 2007
110 Beiträge
 
#1

Type Record

  Alt 22. Mai 2007, 14:35
Hi DP'ler

Ich hab mal eine Frage bezüglich der deklaration von Records....

Ich möchte einen record Medium erstellen, das hab ich soweit....

type
Medium = record
ID : word;
Name : String[50];
Typ : (CD,DVD);
Kategorie : (Film,Musik,Software,SonstigeDaten)

Nun soll aber Kategorie auch noch einzelne Unterpunkte für Film,Musik, Software und SonstigeDaten haben!!
zB. Film
-Format
-FilmKategorie

Musik
-Format
-MusikKategorie

Wie mache ich das????
  Mit Zitat antworten Zitat