Mnemonics
'BOX' 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.
 
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'