PlayerPrefs not working ?? c#

Okay so -

playerStrength = Random.Range (1, 6);
PlayerPrefs.SetInt ("strength", playerStrength);

works.

In a seperate script in the same project/different scene.

PlayerPrefs.GetInt("strength");

does not work.

It says Parser Error, '(, is wrong.

Also then when I put

Shamwow = PlayerPrefs.GetInt("strength"); 

it tells me that = isn’t allowed.
Quite confused as this is the same as the example here;

and here

http://cgcookie.com/unity/2012/09/10/playerprefs/

did you remember to SAVE the prefs after setting the int?
any way, like @orb said, it does look like typo somewhere in the script…