The statement that does not apply under the slave codes is:
They were not allowed to learn how to write, but could learn to read.
Under slave codes, enslaved individuals were typically prohibited from learning to read and write altogether, as education was seen as a threat to slaveholding.