To Close The File Associated With A Window Number - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 6: Using Macros and Command Files
Using Command Files
After opening a file using the File User_Fopen Append or File User_Fopen
Create command, you can use the Expression Fprintf command to write
information to the file. Files opened for reading may be read from the built-in
macro fgetc(). See the "Predefined Macros" chapter of this manual for a
complete description of this macro.
The window number must be between 50 and 256 inclusive.
Use the Window Delete or the File Window_Close command to close the file.
Example
To open user window 57 and redirect any data written to window 57 to the file
'varTrace.out':
File User_Fopen Create 57 File varTrace.out

To close the file associated with a window number

• Using the command line, enter:
File Window_Close
Enter the window number associated with the file when it was opened, and
press the < Return> key.
Example
To close the file associated with user window number 57:
File Window_Close 57
210

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents