Attached is a code snippet. I used it and complied and it worked. An hour later i went through that bit of the programe again and i got an out of boubds error on the arry.
Can any one explain this for me. Why it work once - then not again?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Richard BrennanPosted Apr 14, 2011, 5:53 AM
Sam HobbsPosted Apr 6, 2011, 8:08 PM
My guess is that the file is being used elsewhere in the program, or by anohter program. That could affect the snippet in a way that can't be seen by staring at the snippet. It could be seen by checking for errors.
Richard BrennanPosted Apr 6, 2011, 4:50 PM
Richard BrennanPosted Apr 6, 2011, 4:32 PM
Now that is a real gremlin - it should not have happened - then it went away. Humm, great.
VulpesPosted Apr 6, 2011, 1:51 PM