HMC5843 angle calculation on Arduino

Hi,

i am a noob in arduino, i just bought the HMC5843 Breakout board,

i get it to run with the HMC Lib. My Question is how do i get the angle

relative to nordpole?

I read this post

viewtopic.php?f=14&t=22252&start=0

but how do i put this in to arduino code?

thanks a lot …

Syd…