Re: Rez -> SysError 0?
Re: Rez -> SysError 0?
- Subject: Re: Rez -> SysError 0?
- From: Dave MacLachlan <email@hidden>
- Date: Thu, 28 Apr 2005 13:44:48 -0700
Chris,
According to the MPW docs:
The Read statment defines a resource and reads the data fork of a file as the data for the resource.
and further...
The type of the resource being defined should be appropriate for the data being read: 'TEXT' or 'STR ' for text, 'PICT' or 'ICON' for bitmap data, and so forth.
So I think I'm using it correctly.
Cheers,
Dave
On Apr 28, 2005, at 13:31, Chris Espinosa wrote:
On Apr 28, 2005, at 9:01 AM, Dave MacLachlan wrote:
Anybody know why Rez would be giving me SysError 0? Isn't 0 normally noErr?Im trying to read a text file into a resource doing something like this:
read 'VIEW' (2001, "My View", purgeable) "MyView.txt";
and "MyView.txt" appears to be accessible via the -i args that I've given to Rez. I've used Full Paths just to make sure.
read is for reading resource files. If you want to inject a text file into a .r file you probably want the #include directive.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden