In virtually all countries, newly enacted statutes are published in some kind of journal, gazette, or chronological compilation, which is then distributed so that everyone can look up the statutory law.
A universal problem encountered by lawmakers throughout human history is how to organize published statutes. Such publications have a habit of starting small but growing rapidly over time, as new statutes are enacted in response to the exigencies of the moment. Eventually, persons trying to find the law are forced to sort through an enormous number of statutes enacted at various points in time to determine which portions are still in effect.
The solution adopted in many countries is to organize existing statutory law in topical arrangements (or "codified") within publications called codes, then ensure that new statutes are consistently drafted so that they add, amend, repeal or move various code sections. In turn, in theory, the code will thenceforth reflect the current cumulative state of the statutory law in that jurisdiction. In many nations statutory law is distinguished from and subordinate to constitutional law.
The term statute is also used to refer to an International treaty that establishes an institution, such as the Statute of the European Central Bank, a protocol to the international courts as well, such as the Statute of the International Court of Justice and the Rome Statute of the International Criminal Court. Statute is also another word for law. The term was adapted from England in about the 18th century.
In the Autonomous Communities of Spain, the autonomy statute is a legal document similar to a state constitution in a federated state. The autonomies statutes in Spain have the rank of "Ley Organica", a category of special laws reserved only for the main institutions and issues and mentioned in the Constitution (the highest ranking legal instrument in Spain). Leyes Organicas rank between the Constitution and ordinary laws. The name was chosen, among others, to avoid confusion with the term Constitution (i.e. the Spanish Constitution of 1978).