|
Copyright ® (1997-2005) EDMGROUP Pty Ltd - EZY Prolog Reference |
New in EZY Prolog Tutorials Download EZY Prolog main page
|
EZY DDE (Dynamic Data Exchange) HTML support |
EZY Prolog supports textmode predicates of Turbo Prolog. Note: this feature is available in EZY Prolog version 3 and above.
A window is an area on the screen, possibly surrounded by a border.
When you create the window with makewindow, you give the coordinate for the upper left corner, and the number of rows and columns the window should occupy.
When a window is created, it becomes the current window, and all output will automatically be sent to it. However, you can redirect input and output between windows with the shiftwindow predicate.
All the screen-handling predicates operate relative to the current window.
For example, when you call the cursor predicate to set the cursor at row 4 and column 15, it will be set at row 4 and column 15 inside the current window. Each window has an attached cursor position, which the program remembers as you shift between windows.
When you remove windows with the removewindow predicate, the contents of the screen behind the window are automatically re-established.
Through the windowing predicates, EZY Prolog allows you to control such screen display characteristics as inverse video and colors. This information is passed to standard predicates via an attribute value. Among other things, the attribute value determines the color of the characters (the foreground), and the color behind the characters (the background).
For more information - see sample ezy_pdc_windows.pro and ezy_text_menu.pro in TextMode directory of EZY Prolog NOTE: not yet implemented (under development):
|
Copyright © 2001-2003 EDMGROUP (Australia)