﻿# Basic



| | |
|------|------|
| **TAB(-1,code);** | **\! terminal function** |


| **Code** | **Action** |
|------|------|
| 0 | Clear screen and set normal intensity |
| 1 | Cursor home (move to col 1, row 1) |
| 2 | Cursor return (move to col 1 without linefeed) |
| 3 / 4 | Cursor one row up / down |
| 5 / 6 | Cursor one column left / right  |
| 7 / 8 | Keyboard lock / unlock |
| 9 / 10 | Erase to end of line / screen |
| 11 | Enter background display mode (reduced intensity) |
| 12 | Enter foreground display mode (normal intensity) |
| 13 / 14 | Protected fields enable / disable |
| 15 / 16 | Line delete / insert |
| 17 / 18 | Character delete / insert |
| 19 / 20 | Not supported |
| 21 / 22 | Blinking field start / end |
| 23 / 24 | Alternate char set (line draw) enable / disable |
| 25 / 26 | Not supported |
| 27 | Set terminal attributes |
| 28 / 29 | Cursor on / off |
| 30 / 31 | Underscore start / end  |
| 32 / 33 | Reverse video start / end |
| 34 / 35 | Reverse blink start / end |
| 36 / 37 | Screen display off / on  |




**Example**

? tab(x,y); tab(-1,11); "Name:"; tab(-1,12); name\$; tab(-1,9);

