sl2: Implement the on statement.