Q 44

Does a wizard or archivist need to have his spellbook on hand to both prepare and cast his spells, or only to prepare them?