in reply to Re: Why is my code producing weird output?in thread Why is my code producing weird output?