gh0st; what book are you trying to learn from? This isn't a class assignment, is it? Please don't take this the wrong way but there seems to be some fundamental flaw in your understanding of the language and it appears to cause random issues on a daily basis. Is there something that you are not quite understanding about the language? Perhaps if we can narrow such an issue down, we can begin to assist you in that area thus making it far easier for you to continue learning and perhaps at an accelerated pace.