First writing was, I believe (the book I own on this is in a locker somewhere) used by the Babylonians to record transactions and whatnot, eventually developed into cuneiform and so on. Hope that helped a bit. Noah