# ABOX

> [HTML Version](aboxsbr.htm)

**xcall ABOX, srow, scol, height, width \{,opcode\}**

ABOX is one of the many routines which draw boxes—among which, [MSBOXX](msboxxsbr.md) would be the most sophisticated and generally preferred. Note that ABOX draws the box _at_ the specified position rather than _around_ it.

**Parameters**

_srow, scol_  \[in\]

starting row and position

_height, width_  \[in\]

(not ending row/column)

_opcode_  \[in/out\]

Without an opcode, the default, ABOX will just draw the box border. If _opcode_ is specified and non-zero, the interior of the box will also be cleared. On return, _opcode_ will be set to the number of bytes written, or less than zero for errors