AGB  ·  Datenschutz  ·  Impressum  







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

listen generisches array

Ein Thema von loki · begonnen am 20. Apr 2005 · letzter Beitrag vom 20. Apr 2005
Antwort Antwort
Waldteufel
(Gast)

n/a Beiträge
 
#1

Re: - hilfe - listen generisches array

  Alt 20. Apr 2005, 14:34
Hi.

Zitat von loki:
Delphi-Quellcode:
package Puzzle is
  
    type Orientation_Type is ( North, East, South, West ); -- 0, 90, 180, 270
    type Match_Neighbour_Type is ( Yes, No, Not_Applicable );
  
    type Element_Type is
    record
       Orientation : Orientation_Type;
       Arrow_Direction : Oreintation_Type;
       Match_Left_Neighbour : Match_Neighbour_Type;
       Match_Right_Neighbour : Match_Neighbour_Type;
       Match_Upper_Neighbour : Match_Neighbour_Type;
       Match_Lower_Neighbour : Match_Neighbour_Type;
    end record;
  
    type Board_Type is array ( 1..3, 1..3 ) of Element_Type;
   
 end Puzzle;
Ein Feld kann mehrere Pfeile haben und die 4 Match_..._Neighbour kann man zusammenfassen, also

Delphi-Quellcode:
Arrow_Directions : array (1..4) of Orientation_Type;
Match_Neighbour : array (1..4) of Match_Neighbour_Type;
  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 21:11 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