Re: What is a "parse error"?
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