• 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
Re: What is a "parse error"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is a "parse error"?


  • Subject: Re: What is a "parse error"?
  • From: Enrique Zamudio <email@hidden>
  • Date: Fri, 03 Aug 2001 19:58:15 -0500
  • Organization: Nasoft

A parse error occurs when the compiler finds something it is not
expecting.

It is not obvious to you in this case because the syntax appears to be
correct, but the problem is that NSHashTable (actually I think it was
called NXHashTable) does not exist anymore. That's from the time BEFORE
NSObject even existed... before Foundation... before frameworks... back
in the NextStep days. Now you can use a NSDictionary.

What that line is doing is creating a NSHashTable that will use integers
for its keys.
You can just create a NSMutableDictionary instead and use NSNumbers for
keys.

eZL


  • Prev by Date: Re: "help" URLs
  • Next by Date: Re: "help" URLs
  • Previous by thread: Re: What is a "parse error"?
  • Next by thread: Quick string-set search
  • Index(es):
    • Date
    • Thread