Some interesting examples on how the writing and the erasing are almost one.
Administering an Injection on Shabbos and Setting Up an IV Line;
Is There a Problem with Running or Walking Quickly on Tall Grass?;
ממצוא חפציך (Mimtzo Cheftzecha): Why Do We Need Both 'Recognizable' and כוונה (Kavana)?;