That didn't work. Got an error 'unit1.pas(334,38) Fatal: Syntax error, "=" expected' but ";" found on Const Deck : Array[1..52] of Integer; It looks like it looking for values in the array elements.
Deck : Array[1..52] of CardRecords;
South : Array[1..13] of integer;
North : Array[1..13] of integer;
East : Array[1..13] of integer;
West : Array[1..13] of integer;
The Deck array holds a record with card attributes, suit, position ect.
The North, South,East and West represent the hands at a bridge table. The integers
in the hand arrays could be an integer value of 1..52 and would be a card of the Deck.
I need to change the values in al 5 arrays while playing a hand of bridge.
Is there a way to have a static array that is 1 based as opposed to 0 based?