• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Enumerated lists - (Sorry for the stupid questions.)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enumerated lists - (Sorry for the stupid questions.)


  • Subject: Enumerated lists - (Sorry for the stupid questions.)
  • From: email@hidden
  • Date: Tue, 25 Sep 2001 09:01:44 -0400

The following gives "undefined type, found 'HexConditions'". As far as I can tell this is where you are supposed to declare enumerated lists. Any ideas...

#import <Cocoa/Cocoa.h>

enum HexConditions {
fine = 0,
rubble,
fire,
smoke
};

@interface MapData : NSObject {

HexConditions hexCondition;

}


Ken Botwinick
http://homepage.mac.com/kenbotwinick
AOL IM Screen name: kenbotwinick


  • Follow-Ups:
    • Re: Enumerated lists - (Sorry for the stupid questions.)
      • From: John Hörnkvist <email@hidden>
    • Re: Enumerated lists - (Sorry for the stupid questions.)
      • From: Rob Rix <email@hidden>
  • Prev by Date: Re: Machine serial number
  • Next by Date: Re: Enumerated lists - (Sorry for the stupid questions.)
  • Previous by thread: NSWorkspace openURL
  • Next by thread: Re: Enumerated lists - (Sorry for the stupid questions.)
  • Index(es):
    • Date
    • Thread