This keyword is part of the On statement, see there.

See also: Elementary Commands