hi,
I've got a problem:
This is, what I declared:
type
deckEnum = (ENG, FRA, GER, DIA);
deckType = record
PropSt: String;
Fields: Byte;
Stones: Byte;
FreeFd: Byte;
Moves: Byte;
Diags: Byte;
end;
const
decks : array [deckEnum] of deckType = (
(PropSt: 'ENG'; Fields: 33; Stones: 32; FreeFd: 16; Moves: 76; Diags: 60;),
(PropSt: 'FRA'; Fields: 37; Stones: 36; FreeFd: 18; Moves: 92; Diags: 76;),
(PropSt: 'GER'; Fields: 45; Stones: 44; FreeFd: 22; Moves: 108; Diags: 76;),
(PropSt: 'DIA'; Fields: 41; Stones: 40; FreeFd: 20; Moves: 100; Diags: 92;)
);
Question: How can I access the Stones-item in decks[DIA] (the 40 in the last line of decks)?
Please help