ProvideX V8.20 > Language Reference > 5. Mnemonics
641
'TEXTWDW' Mnemonic
      Create Text Window
GUI Display or Character Display
Format
'TEXTWDW'(col,ln,wth,ht[,wdw_id],[title$][,attrib$][,OPT=val$])
Where:
@(col,ln, Position / coordinates. Numeric expressions. Column and line
wth,ht)
coordinates for top left corner, width in number of columns and height in
number of lines.
attrib$
Attribute string. Optional. If you include attributes, use a string of one
or more mnemonics to define the defaults for the window.
title$
Optional title. String expression/literal.
Valid OPT= values for defining windows in a graphics environment:
val$
c  Window is a child of the current window.
S  Window has Status line / Message Bar.
wdw_id
Window's unique ID number (0 - 255).
Description
Use 'TEXTWDW' to create a text mode window under Windows. If you include a title,
a box of the defined height and width will be drawn around the window and the
title will be left-justified on the top line of the box.
See also 'DIALOGUE' Define / Draw Dialogue Region, p.598 and WINDOW'
Define / Draw Window, p.645.
Example
PRINT 'TEXTWDW'(10,10,50,10,"Title")
'TR' Mnemonic
    Terminal Read from Start
Editing
Description
'TR' transmits an image to a program as a string. Normally, 'TR' reads from 0,0 to the end
of the screen; however, when in BBx emulation mode (SET_PARAM 'BX'), 'TR' reads from
0,0 to the current cursor position.
The 'RP' mnemonic has the same functionality as 'TR' except that it is not affected by BBx
emulation. See also 'RP' Terminal Read to End, p.634, 'RC' Return Cursor Address,
p.633, and 'RL' Return Line Contents, p.634.
Note: In graphics mode, if a terminal mnemonic transmits the contents of the screen
to the program, the data consists of four bytes for each character. The first two bytes
contain background and foreground characters, the third byte holds character
attributes, and the fourth byte holds the actual character on the screen.