Your lines look to be an uncontrolled mix of Basic and C languages ...
So, it will be rather difficult to help you ...
BTW "Jeroen" ... that reminds me something... 
what's your mother language ???
I'd bet Dutch ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks