SET(COLUMN_MOVE_VERTICAL) Determines the behavior of the cursor when you use the MOVE_VERTICAL built-in. Syntax SET (COLUMN_MOVE_VERTICAL, {OFF | ON}) Parameters OFF The cursor will stay at the same offset in each new record to which the cursor moves. This is the default. Since DECTPU counts a tab as one character when determining the offset, the cursor's column location can change dramatically after you use MOVE_VERTICAL. ON The cursor will move in approximately the same column from line to line, unless doing so would put the cursor in the middle of a tab or beyond the end of line. Example In the following example, the symbol "TAB..." represents a tab, and a caret (^) indicates the character that the cursor is on. Suppose you have the following text in a buffer, with the cursor on the "c" character on the first line: abcdefg ^ aTAB....bcdefg If you use the following code: SET (COLUMN_MOVE_VERTICAL, OFF); MOVE_VERTICAL (1); The cursor ends up pointing to the "b" character on the second line, as follows: abcdefg aTAB....bcdefg ^ If you use the following code: SET (COLUMN_MOVE_VERTICAL, ON); MOVE_VERTICAL (1); The cursor ends up pointing to the beginning of the tab on the second line, as follows: abcdefg ^ aTAB....bcdefg Related Topics MOVE_VERTICAL