| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
Mnemonic:
| (Create Window=a,b,c,d)
where: |
| Hex equivalent: | "@0E0D00wwxxyyzz@"
where: |
| Discussion: |
This mnemonic creates a Comet window using the specified screen
coordinates. Note: These coordinates are relative to the full
screen (e.g., column 0, row 0 always represents the upper left
corner of the display).
When a window is created, the amount of available window memory decreases by the size of the window. To determine how much window memory remains, perform a numeric input immediately following the creation of a window. See the window memory page for more information. If you do not need to know how much window memory remains, perform a null INPUT immediately after printing the (Create Window) mnemonic. Also see the discussion on Comet windows. |
| Example: |
a. 100 FORMAT (Create Window=2,3,70,20) . PRINT (0,100) INPUT (0) "" b. PRINT (0) (Create Window=2,3,70,20) INPUT (0) ""This example show how to create a Comet window from column 2, row 3 (the upper left corner) to column 70, row 20 (the lower right corner). The INPUT (0) "" statement allows the program to bypass the value that is returned from the (Create Window) mnemonic (the amount of remaining window memory). |