The teacher told me not to be late (D.for) class any more.
老师叫我不要再上课迟到了.
be late for class,上课迟到.介词用for.