Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 2 - Edition Manager / Subscribing to Non-Edition Files


Reading From and Writing to Files

The I/O procedure is a routine that actually reads and writes the data. It too has an interface of a selector and a parameter block.

To override the standard reading and writing functions, create an I/O function. Note that you also need to provide your own opener function to call your I/O function. See "Calling an Edition Opener" on page 2-64.

FUNCTION MyIO (selector: FormatIOVerb; 
               VAR PB: FormatIOParamBlock): OSErr;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice