Re: Writing Files
Re: Writing Files
- Subject: Re: Writing Files
- From: Andy Lee <email@hidden>
- Date: Mon, 30 Jun 2003 17:17:51 -0400
Here are the desperate ideas that come to mind...
Maybe you accidentally typed some non-printing character into your
code that the parser doesn't like? You could try deleting the first
few lines of the method and retyping them (or use vi or emacs to open
the file and look for weird characters).
I would also try narrowing the problem down to one line by commenting
out portions of the code before the NSSavePanel declaration. Or you
could move the declaration to the top of the method (better yet,
retype it) and see if you still get the parse error.
You haven't said what version of the Dev Tools and OS X you are
using. As Jonathan Jackel mentioned, you *should* be able to declare
a variable anywhere in the method -- but I believe this wasn't
supported in earlier versions of the development environment. So,
for grins, you could try moving the declarations to the top of the
method. Couldn't hurt.
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.