in reply to Re^3: sharing array please help
in thread sharing array please help

thanks! I fixed it! I realized what I was doing wrong. now my code looks much better.