Thank you very much. i will read and try to understand. Hope I can ngain some help from this forum in future because i am a beginner in C.