The I/O Stream window is a window that can be created by means of the built-in OpenUserWindow function executed from the script itself. Script files use windows of this type to display I/O streams in the form of text. The most usual examples of I/O streams are displaying the characters inputted from the PC keyboard and text messages outputting by the scripts. Also, you can reassign I/O streams to files and input data from files.
The functions, which operate with windows (including the I/O Stream window), receive the window identifier (handle) as a parameter. Therefore, several windows of this type can be open at the same time.
When the text display function sends text to this window, the window displays the text from the current cursor position. To begin the next line, this function outputs '\n' (the line feed character).
The window features two text display modes: with the automatic line advance (Wrap) and without it. In the automatic line feed mode, every text line that does not fit in the window is wrapped to the next line. In the other mode, if the line does not fit in the window, its end will lie beyond the window border and will be invisible. The Wrap button in the toolbar toggles the window between these modes. The Clear button clears the window contents.
Windows of this type do not have a local menu.
|