Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 4th, 2005, 7:33 AM   #1
D3LTR33
Newbie
 
Join Date: Oct 2005
Posts: 1
Rep Power: 0 D3LTR33 is on a distinguished road
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....
D3LTR33 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:59 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC