[誤] The students were told that anyone was not allowed to take the books out of the reading room.
[正] The students were told that nobody / no one was allowed to take the books out of the reading room.
注:anybody 作主語時,謂語部分使用否定詞不符合英語的習慣,應將 anybody 改為 nobody,并將否定詞 not刪去。又如:你喜歡的食物沒有一種是適合我吃的(Nothing you like agrees with me)。