72
<LA>
Left Align
Attributes
Description
Set the attribute so that written text is aligned to the left of the display or defined window
Parameters
None
Initial Value
Not aligned; Text appears at the current cursor position
Modes
All Modes
Notes
This command sets the attribute that causes text written with the <WT> command to be aligned at the
left hand side of the screen (or window, if defined).
It only affects text written after the attribute has been set.
The attribute is cancelled by the <NA> command or any of the other text alignment commands
<CA>, <RA>, <SW> & <TW>
Uses
The <LA> command allows:
•
Text to be automatically aligned without the need for cursor move commands
•
Tidy screen presentation
Example
<SD>
Set the display to a known state
<CM3,60>
Move the cursor to the middle of row 3
<LA>
Set left align attribute
<WTLeft>
Left align the word ‘Left’ on the current row
<RA>
Set the right align attribute
<WTRight>
Right align the word ‘Right’ on the current row.
<LN>
Move cursor one row down
<CA>
Set centre align attribute
<WTMiddle>
The word ‘Middle’ is written centre aligned on the current row.
See Also
CA
Centre Align
NA
No Align
RA
Right Align
SW
Smart Wrap
TW
Text Wrap