Positioning a File Pointer at the Beginning of a File

The Insert | File I/O Command | Position Commands | Rewind To Start menu option inserts a command into the Edit window that will position the file pointer to the beginning of the file stream.

The syntax of this command in the Edit window is:

File/Rewind,<fptrname>

Descriptions for some of the components of this command are:

<fptrname>
This is the name of the file pointer to reposition at the beginning of the file.

To access the dialog box associated with this File I / O command:

  1. Open the Edit window.

  2. Place your cursor on the Rewind to Start command.

  3. Press F9.

More:

Sample Code for Rewind to Start