U - Undo

Recovers the item as it was prior to the last executed command.

Command

U

Action

The Undo command allows you to cancel the last command that changed the item.  The Status/Command Line prompts:

UNDO last change?:N

Press Y to execute the Undo command.

Press N or press RETURN to cancel the Undo command.

Example

00022 PRINT (10,10)TEXT

Note the current cursor position. Assume that you want to insert a colon (:) at the cursor position to give proper syntax to the DataBasic statement. You forget that you are not in Insert Mode and type a colon.  A colon is the Truncate Line command, and the line is now:

00022 PRINT (10,10)_

Press U. The Status/Command Line prompts:

UNDO last change?:N

Press Y.  The line is restored to the original as follows:

00022 PRINT (10,10)TEXT