Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!wuarchive!decwrl!ucbvax!agate!garnet.berkeley.edu!bmyers From: bmyers@garnet.berkeley.edu (Brian Myers) Newsgroups: comp.sys.mac.programmer Subject: _delete and _rename with inline in MacPascal? Summary: is it possible? why am I told "invalid trap"? Message-ID: <1990Aug17.063356.20418@agate.berkeley.edu> Date: 17 Aug 90 06:33:56 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Organization: University of California, Berkeley Lines: 13 I am working in MacPascal. (I have to; that's not negotiable.) This package, because it's intended for educational use, gives you access to a lot of the Mac traps only through inlines. Whenever I try to delete or rename a file using the low-level file i/o routines Delete and Rename, I get an error message saying "an invalid trap number has been given to inline or generic." I have double checked the trap numbers in several references, and they are correct. Any ideas? Brian --------------------------------------------------------------------------- Brian Myers bmyers@garnet.berkeley.edu