Lingo Dictionary > D-F > ENTER |
![]() ![]() ![]() |
ENTER
Syntax
ENTER
Description
Character constant; represents the Enter key (Windows) or the Return key (Macintosh) for a carriage return.
On PC keyboards, the element ENTER
refers only to the Enter key on the numeric keypad.
For a movie that plays back as an applet, use RETURN
to specify both the Return key in Windows and the Enter key on the Macintosh.
Example
This statement checks whether the Enter key is pressed and if it is, sends the playback head to the frame addSum:
on keyDown if the key = ENTER then go to frame "addSum" end
See also
![]() ![]() ![]() |