|
Newbie
Join Date: Oct 2005
Posts: 1
Rep Power: 0 
|
Pascal Help
i'm trying to use an enumerated data type in an array but pascal keeps giving me an error. I've checked examples from web sites and other code and my code is basically identical.
program BlackJackHack;
type
CardId = (BAce, BTwo, BThree, BFour, BFive, BSix, BSeven, BEight, BNine, BTen, BJack, BQueen, BKing, RAce, RTwo, RThree, RFour, RFive, RSix, RSeven, REight, RNine, RTen, RJack, RQueen, RKing);
DeckofCardId = array [CardId] of integer;
Error:
Line 5: [Error] (5:23): Unknown identifier '' in script C:\Docu....
|