Lingo Dictionary > A-C > BACKSPACE |  |

BACKSPACE

Syntax

    BACKSPACE

Description

Constant; represents the Backspace key. This key is labeled Backspace in Windows and Delete on the Macintosh.

Example

This `on keyDown` handler checks whether the Backspace key was pressed and, if it was, calls the handler `clearEntry`:

    on keyDown
    	if the key = BACKSPACE then clearEntry
    	stopEvent
    end keyDown