Copyright ® (1997-2005) EDMGROUP Pty Ltd - EZY Prolog Reference

EZY Textmode

New in EZY Prolog Tutorials Download EZY Prolog main page

 

EZY Designing

EZY Prolog basics

EZY GUI and Visual Prolog

EZY Debugger

EZY Code Generator

EZY DLL

EZY Textmode

EZY Read/Write

EZY Lists

EZY Dialogs

EZY Menu

EZY GUI

EZY Programming

EZY Samples

EZY Sockets

EZY_XML

EZY ODBC

EZY Tree and XTree

EZY Regular expressions

EZY DDE (Dynamic Data Exchange)

Data type checking/conversion

Execution control

Term unification

Operators

File system

Operating system

Date/Time functions

String operations

Built-in WEB Browser

Internal Databases

Debugging

HTML support

EZY Prolog Domains

EZY Prolog Functions

EZY Prolog versions

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):

  • scrollwindow

  • edit

  • dir

  • display

 

 

Copyright © 2001-2003 EDMGROUP (Australia)