ProvideX V8.20 > Language Reference > 5. Mnemonics
590
'BOX' Mnemonic
      Define / Draw a Box
GUI Display or Character Display
Format
Long or short form: 'BOX' or 'BX'
'BOX'(col,ln,wth,ht[,title$[,attrib$]])
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$
Optional attributes. If you include attributes, use a string of one or more
mnemonics.
title$
Optional title. String expression.
Description
You can use either 'BOX' or 'BX' in the format to draw a text mode box. If you include
a title, it is displayed left-justified on the top line of the box unless the 'AH' system
parameter is set. If you include attributes, these are sent to the display device before
the box is displayed. Refer to the 'AH' System Parameter, p.654.
Example
The boxes in the example are drawn joined with titles. Current 'FILL' and 'PEN'
settings are ignored when you use 'BOX':
0010
PRINT
'CS'; LIST
0020
PRINT
'PEN'(2,3,6),'FILL'(3,8)
0030
PRINT
'BOX'(4,6,16,10,"Box 1",'BJ')
0040
PRINT
'BX'(19,6,10,10,"Box 2")
0050
PRINT
'EJ'
'BR' Mnemonic
     Begin Reverse Video
GUI Display or Character Display/Printer
Description
Use 'BR' to begin sending characters to the device in reverse video mode. Use an 'ER'
mnemonic to end reverse video mode. (When you have colour attributes, ProvideX
uses the background colour as the foreground colour and vice-versa.) To end reverse
video mode, use the 'ER' Mnemonic, p.603.
'BS' Mnemonic
     Cursor Back One Space
Motion
Description
Use 'BS' to move the cursor back one position to the left. ProvideX ignores this
mnemonic if the cursor is in column 0 zero.