An excellent explaination DdoubleD :) And a great attitude from CyberPirate1. So many people paste the code, see that it works and move on. Its great to see someone stop to say "great, it works...but why does it work?". That attitude will serve you well as a coder :)
Oh, and welcome to Daniweb. Please remember to mark the thread as solved sicne your question has been answered.
Ryshad
Nearly a Posting Virtuoso
1,307 posts since Aug 2009
Reputation Points: 512
Solved Threads: 246