Saving a File Pointer's Current Position

The Insert | File I/O Command | Position Commands | Save File Position menu option inserts a command into the Edit window that saves the current position of a file pointer within the file stream. The saved position can later be recalled using the recall file position command.

The syntax of this command in the Edit window is:

File/SavePosition,<fptrname>

Descriptions for some of the components of this command are:

<fptrname>
This is the name of the file pointer whose file position is saved.

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

  1. Open the Edit window.

  2. Place your cursor on the Save File Position command.

  3. Press F9.

More:

Sample Code for Save File Position