| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
Mnemonic:
| (Save Screen) |
| Hex equivalent: | "@040003@" |
| Discussion: |
This mnemonic saves the current screen display, including all
text and display attributes, variables, screen colors, the screen
mode, and the memory and display contents of all Comet windows
that are open. This mnemonic also frees up all windows memory for
the console session.
This information is saved in a data file named "SCRN" + TERM$. This file is created automatically by Comet and placed on the first local RAM disk found among the accessed Comet directories; if no local RAM disk is found, Comet uses the current DOS directory. (This is the same directory where the partition environments are saved when ENTER statements are executed.) Note: This file is a DOS file, not a Comet file (i.e., there is no automatic entry in the QDIR file for this file). The console screen display does not change when this control is written. Your application may proceed to write new information to the screen, use windows memory blocks, etc. To restore the screen display, use (Restore Screen). |
| Example: |
a. 100 FORMAT (Save Screen) . PRINT (0,100 b. PRINT (0) (Save Screen) |