The RIGHT command applies only to the display area when it is in output mode. The display area is used as a window for viewing the result of a statement or macro. The RIGHT command moves this window to the right to view columns of a wide result that previously were not visible.
If the RIGHT command is entered in the input area, data in the input area is erased upon execution. If the command is not accepted, the display is not changed, and the cursor is moved to the beginning of the input area. When the rightmost character of the display is reached, the command is ignored.