The loss of the ability to write, which may or may not be connected with alexia, the loss of ability to comprehend the written or printed word. It is thought to be caused by a lesion in the cerebral cortex or by more generalized cerebral dysfunction.