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

List of predicates for group Textmode windows

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

attribute

INTEGER COLOR_ATTR_ATTRIBUTE

(i),(o)

Set or get the default write attribute (color)

determ

clearwindow

Clear the current window

determ

cursor

INTEGER Row,
INTEGER Column

(i,i),(o,o)

Set or read the cursor position in the current window

determ

cursorform

INTEGER STARTLINE,
INTEGER ENDLINE

(i,i)

The cursorform predicate sets or returns the height and vertical position of the cursor within a single-character display area (cell).

determ

existwindow

INTEGER WindowNo

(i)

Test if a window exists

determ

field_attr

INTEGER Row,
INTEGER Column,
INTEGER Length,
INTEGER SCR_ATTR

(i, i, i,i), (i, i, i,o)

Set or get the attributes for a field.

determ

field_str

INTEGER Row,
INTEGER Column,
INTEGER Length,
STRING VALUE

(i, i, i,i), (i, i, i,o)

Write or read a string in a field.

determ

framewindow

INTEGER FrameAttr

(i)

Change the attribute for a window frame

determ

gotowindow

INTEGER WindowNo

(i)

Fast shift between windows

determ

keypressed

Test whether a key has been pressed

determ

makewindow

INTEGER WindowNo,
INTEGER ScrAtt,
INTEGER FrameAttr,
STRING FrameStr,
INTEGER Row,
INTEGER Column,
INTEGER Height,
INTEGER Width

(i, i, i, i, i, i, i, i),(o, o, o, o, o, o, o, o)

Create a window with a default frame Once defined, the window is cleared, and the cursor moves to the window's top left corner.

determ

removeallwd

Remove all windows from the screen

determ

removewindow

Remove current window

determ

resizewindow

INTEGER Row,
INTEGER Column,
INTEGER NoOfRows,
INTEGER NoOfCols

(i, i, i, i)

Change position and size of the current window

determ

scr_attr

INTEGER Row,
INTEGER Column,
INTEGER SCR_ATTR

(i, i, i), (i, i, o)

Set or get a screen attribute.

determ

scr_char

INTEGER Row,
INTEGER Column,
CHAR Char

(i, i, i), (i, i, o)

Write or read a character to or from the screen.

determ

scroll

INTEGER NoOfRows,
INTEGER NoOfCols

Scroll contents of the current window

determ

shiftwindow

INTEGER WindowNo

(i),(o)

change the active window

determ

textmode

INTEGER NoOfRows,
INTEGER NoOfCols

(i,i),(o,o)

Set or get the actual number of rows and colons

determ

window_attr

INTEGER COLOR_ATTR

(i)

Gives the current window the attribute value to which Attr is bound.

determ

window_str

STRING DATA

(i),(o)

Read or write a string from or to the active window


Copyright © 1998-2005 EDMGROUP (Australia)