In this paper, we find a necessary and sufficient condition for an [a, b](r)-compact space to be [a, b]-compact.