The Oxidation State of compounds like AgCl? (with no oxygen in them!!)?

I hope someone good at chemisty is here :S
Anyway, i am really confused.
How am i meant to work out the Oxidation State of something with no oxygen in like AgCl?
is it just zero?
An oxidation state refers to the charge of an element in a specific compound. In other words, elements that are the same can have different oxidation states depending on the compound they form. So for AgCl, the oxidation state of Ag would be +1 and the oxidation state of Cl would be -1. And for pure elements (elements by themselves) like Ag or Cl2 the oxidation states would be 0.
I like penguins
yep jenn has it right. also for elements containing hydrogen and oxygen they have oxidation values of +1 and -2 respectfully so that will help you calculate them
Oxidation is not just the presence of oxygen it also relates the the ionic state of a compound or element.
So in the absence of oxygen yo are looking at the ionic state. research into redox reactions. Oxidation and reducation or ions.
Now go do your homework!
We can work out oxidation states of elements in compounds with no oxygen in them as the definition of oxidation goes like this "Oxidation is the addition of oxgen or removal of hydrogen or removal of electrons." So if an element has had one electron removed it has an oxidation state of +1. Conversely if it has had one electron ADDED it has an oxidation state of -1. When chlorine combines with a metal such as sodium it gains 1 electron (which the sodium loses) so its oxidation state is -1. So in the case of silver chloride the chlorine has an oxidation state of -1 and the silver (which has lost the electron) has an oxidation state of +1. Oxygen itself will gain 2 electrons when it combines with a metal or hydrogen and so has an oxidation state of -2. In any compound the sum of all the oxidation numbers must add up to zero.
try not to confuse oxidation state with an oxidising agent - pay close attention to previous answers they are very accurate
The term "oxidation state" is based on the reaction between oxygen and some other element. Oxygen takes 2 electrons from the compound with which it reacts and has oxidation state = -2 after the reaction. This means that the oxidation state of the other element rises to +2 (= it has lost 2 electrons).

When Ag and Cl react, Cl is the element taking electrons like oxygen does. It "oxidises" the element with which it reacts. The oxidation state of chlorine decreases from 0 (= oxidation state of all non-ionised elements) to -1 (= reduced form of Cl, an anion). In opposite, Ag is the element which gives one electron to Cl and turns to have oxidation state of +1 (a cation).

No oxygen is therefore needed for oxidation; in all reactions, where an element (A) takes electrons from another electron (B) is called oxidation of the element B.

Total sum of charges after the formation of AgCl is (-1)+(+1) = 0, and the compound AgCl has therefore oxidation state = 0.