_CP_rewind

_CP_rewind


_CP_replace_bridge Index Level _CP_root
Syntax int _CP_rewind(int type)
Category C Interface
Type C Function
Description equivalent to the FlashBASIC statement: rewind

type                 FlashBASIC statement

_CP_REWIND_ELSE      rewind else * return -1
_CP_REWIND_ONERR     rewind else * return -1

This function returns -1 if an error occurs. The error code is contained in _CP_errno.  PE_TAPE indicates a tape error.
Options
See Also C Functions introduction _CP_weof
Example /* The following example rewinds the tape. */

_CP_rewind(_CP_REWIND_ELSE);
Warnings The tape must have already been attached.
Compatibility AP 6.1
_CP_replace_bridge Index Level _CP_root