Director Help

end case

Usage

-- Lingo syntax
end case

Description

Keyword; ends a case statement.

Example

This handler uses the end case keyword to end the case statement:

on keyDown
    case (_key.key) of
        "a": _movie.go("Apple")
        "b", "c":
             _movie.puppetTransition(99)
             _movie.go("Oranges")
        otherwise: _sound.beep()
    end case
end keyDown

See also

case