Getting the size of the screen

Hi, How do I get the size of the screen? I tried with scrH and scrW after seeing them somewhere, but they dont work.

They do, use ScrW( ) for width and ScrH( ) for height.

surface.ScreenWidth( ) and surface.ScreenHeight( ) exist as alternates.