h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_CommandWindow h2. Wimp_CommandWindow h5. (SWI &400EF) |_<. Entry |\2. | |/4^. R0 |-1 |Command window is closed whether it was used or not | |^. 0 |Same as -1, but if output, do a <code> *Press SPACE or click mouse to continue</code> | |^. 1 |Command window is set to ‘active’ | |^. >1 |Pointer to title. Command window is set to ‘pending’, and next time VDU4 output is generated, the window will open | |_<. Exit | | |R0 |Corrupt | The purpose of this call is open a text window in which VDU4-type output can be displayed, primarily for running older-style programs, that are text-based. When the Wimp starts a task, it executes the following command. <pre>SYS "Wimp_CommandWindow","filename"</pre> When [[Wimp_Initialise|Wimp_Initialise]] is reached, it executes the following. <pre> SYS "Wimp_CommandWindow",-1</pre> h4. See also * [[Wimp_Initialise|Wimp_Initialise]]