Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
Mnemonic:
| (RJ) |
| Hex equivalent: | "@0B@" |
| Discussion: |
Right justify mark.
The (RJ) control code is used to specify a numeric data entry field. This code places a right justify mark at the current cursor location, taking one screen position and displayed in suppressed background (invisible) mode. It causes data in the following foreground field to be entered from right to left. The right justify mark must be placed immediately before the field for which it is intended. Characteristics of a right-justified field:
|
| Example: |
100 FORMAT (SB);_ ! start background
"ENTER CREDIT LIMIT:";_ ! prompt
(TM);_ ! transmit mark
(RJ);_ ! right justify mark
(SF);_ ! start foreground
" ";_ ! blank spaces
(TM); ! transmit mark
(CH) ! cursor home
.
.
.
PRINT (0,100)
INPUT (0) CRLIMIT
This example shows how to use the right justify control code for
a numeric data entry field (credit limit). Notice the placement
of the transmit marks. Also notice the placement of the
foreground blank spaces for the data entry field.
|