in reply to Re: Not A Rockstar File Manipulator Today
in thread Not A Rockstar File Manipulator Today

No, I didn't re-type the code, you are looking at the code I'm using, when I pasted, I realized the typo, which was also in my code, but when I changed it, with high hopes of course that I wouldn't even need to ask because I had found the problem, and it made no difference either way, I just forgot to change it on the posted code as well. I am a newbie, as I'm sure all can see, and retarded in many areas, but give me some credit, I can cut and paste :p ;)

Thanks for the responses on debugging, though...I swear I'm having the hardest time with that part...

  • Comment on Re^2: Not A Rockstar File Manipulator Today

Replies are listed 'Best First'.
Re^3: Not A Rockstar File Manipulator Today
by gwadej (Chaplain) on Nov 15, 2008 at 14:05 UTC
    Thanks for the responses on debugging, though...I swear I'm having the hardest time with that part...

    Welcome to the wonderful world of programming. Debugging is usually the hardest part. When debugging, one of the most useful techniques I've found is to verify the pieces that I know beyond a shadow of a doubt are right. Quite often they are not and debugging the rest of the code won't get you anywhere.

    Several of the other responses suggest adding print statements to show what is happening. Have you done this? Don't skip one because you know it's right.

    G. Wade