66 Exactly the same effect can be obtained with the statement VDU 31,18,6 The cursor can be moved to the ‘home’ position at the top left of the screen with the statement VDU 30 If the user wishes to clear the screen as well as move the cursor to the home position then he or she can use the statement VDU 12 The last of the VDU commands directly to do with cursor control is VDU 127 which moves the cursor left and deletes the character there. If you wish to delete the next four characters and then return the cursor to its initial place you could use VDU 9,9,9,9,127,127,127,127 Cursor on/off In some applications the flashing cursor can be a distraction.
The cursor can be turned off with the statement VDU 23,1,0;0;0;0; The cursor can be turned back on with the statement VDU 23,1,1;0;0;0; or by changing screen mode using a MODE statement.