Please enable JavaScript to view this site.

A-Shell Reference

//SETTEXTALIGN, flags

SETTEXTALIGN determines way text is aligned within the character cell grid. The default is the upper left corner of the character cell, meaning that //TEXTOUT,x,y text will print the text below and to the right of the position x,y. Add together the applicable options, one for each coordinate, from the table below. See the topic "Parameters: Symbols vs. Values" if you have questions about which to use.

Symbol

Value

Description

Horizontal Alignment

TA_LEFT

0

x coordinate aligns with left side of character cell. (Default)

TA_RIGHT

2

x coordinate aligns with right side of character cell.

TA_CENTER

6

x coordinate aligns with center of character cell.

Vertical Alignment

TA_TOP

0

y coordinate aligns with top of character cell. (Default)

TA_BOTTOM

8

y coordinate aligns with bottom of character cell.

TA_BASELINE

24

y coordinate aligns with character baseline.