## Writing a Character to a File

The Insert | File I/O Command | Writing Commands | Write Character menu option inserts a command into the Edit window that will cause a single character to be output to a disk file upon execution.

The syntax of this command in the Edit window is:

File/Write_Character,<fptrname>,<expr>

<fptrname> | This is the name of the file pointer specified when the file was opened.
<expr> | This is the character to be written to file. If the expression evaluates to more than one character, only the first character is written.

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

1. Open the Edit window.

2. Placing your cursor on the Write Character command.

3. Press F9.

More:

Sample Code for Write Character