C5 UI – Basics :
?/?? :
Display one or more values to the console
? | ?? [<exp list>]
@…BOX :
Draw a box on the screen
@ <nTop>, <nLeft>, <nBottom>, <nRight> BOX <cBoxString> [COLOR <cColorString>]
@…CLEAR :
Clear a rectangular region of the screen
@ <nTop>, <nLeft> [CLEAR [TO <nBottom>, <nRight>]]
@…SAY :
Display data at a specified screen or printer row and column
@ <nRow>, <nCol> [SAY <exp> [PICTURE <cSayPicture>] [COLOR <cColorString>]] GET <idVar> [PICTURE <cGetPicture>] [COLOR <cColorString>] [WHEN <lPreExpression>] [RANGE* <dnLower>, <dnUpper>] | [VALID <lPostExpression>]
@…TO :
Draw a single or double line box
@ <nTop>, <nLeft> TO <nBottom>, <nRight> [DOUBLE] [COLOR <cColorString>]
ACCEPT :
Place keyboard input into a memory variable
ACCEPT [<expPrompt>] TO <idVar>
INPUT :
Enter the result of an expression into a variable
INPUT [<expPrompt>] TO <idVar>
ALERT() :
Display a simple modal dialog box
ALERT( <cMessage>, [<aOptions>] ) --> nChoice
CLEAR SCREEN :
Clear the screen and home the cursor
CLEAR [SCREEN] | CLS
COL() :
Return the screen cursor column position
COL() --> nCol
Activate attribute in current color settings
COLORSELECT(<nColorIndex>) --> NIL
DEVOUT() :
Write a value to the current device
DEVOUT(<exp>, [<cColorString>]) --> NIL
DEVOUTPICT() :
Write a value to the current device using a picture clause
DEVOUTPICT(<exp>, <cPicture>, [<cColorString>]) --> NIL
DEVPOS() :
Move the cursor or printhead to a new position depending on the
current device
DEVPOS(<nRow>, <nCol>) --> NIL
DISPBEGIN() :
Begin buffering screen output
DISPBEGIN() --> NIL
DISPBOX() :
Display a box on the screen
DISPBOX(<nTop>, <nLeft>, <nBottom>, <nRight>, [<cnBoxString>], [<cColorString>]) --> NIL
DISPCOUNT() :
Return the number of pending DISPEND() requests
DISPCOUNT() --> nDispCount
DISPEND() :
Display buffered screen updates
DISPEND() --> NIL
DISPOUT() :
Write a value to the display
DISPOUT(<exp>, [<cColorString>]) --> NIL
OUTERR() :
Write a list of values to the standard error device
OUTERR(<exp list>) --> NIL
OUTSTD() :
Write a list of values to the standard output device
OUTSTD(<exp list>) --> NIL
QOUT() :
Display a list of expressions to the console
QOUT([<exp list>]) --> NIL QQOUT([<exp list>]) --> NIL
RESTORE SCREEN* :
Display a saved screen
RESTORE SCREEN [FROM <cScreen>]
RESTSCREEN() :
Display a saved screen region to a specified location
RESTSCREEN([<nTop>], [<nLeft>], [<nBottom>], [<nRight>], <cScreen>) --> NIL
ROW() :
Return the screen row position of the cursor
ROW() --> nRow
SAVE SCREEN* :
Save current screen to a buffer or variable
SAVE SCREEN [TO <idVar>]
SAVESCREEN() :
Save a screen region for later display
SAVESCREEN([<nTop>], [<nLeft>], [<nBottom>], [<nRight>]) --> cScreen
SCROLL() :
Scroll a screen region up or down
SCROLL([<nTop>], [<nLeft>], [<nBottom>], [<nRight>], [<nVert>] [<nHoriz>])
--> NIL
TYPE :
Display or print the contents of a text file
TYPE <xcFile> [TO PRINTER] [TO FILE <xcOutFile>]
Pingback: Clipper 5.x Reference Guide Summary | Viva Clipper !