Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/03/00 18:47
Read: times


 
#3530 - It might save your life as well !!!


I have written a code where I have user input through keypad. User should enter data followed by Enter key.
Everything was working but Enter key was not working after a particular user entered request. I spent 3 days
And broke my head to find out some thing, left-over. Everything seemed okay.
I decided to eliminate all other user input except that particular one, after Enterkey stops working. At the compilation
I found an error, where a jump instruction were pointing to one of the (temporarily) disabled data. I opened the list file
And just adjusant to that error I found that one instruction had no Carriage Return at end, but because comments line was long
enough to reach end of page and wrapped to the next line where I have typed another CODE line, without noticing the
absense of carriage return between previos code line and current code line. It was just co-incident that I found this silly
mistake, which I think I could have never discovered otherwise. I wasted my 3 days just because of this silly mistake.
I used MS Word for typing my code, I recommend the programmer those are using same or similar word processor to
Turn ON the Control Character display to view, whether carriage return have been inserted between two code lines or
Not? It might save your life.

Goodluck

Rauf


List of 5 messages in thread
TopicAuthorDate
It might save your life as well !!!            01/01/70 00:00      
RE: It might save your life as well !!!            01/01/70 00:00      
RE: It might save your life as well !!!            01/01/70 00:00      
RE: It might save your life as well !!!            01/01/70 00:00      
RE: It might save your life as well !!!            01/01/70 00:00      

Back to Subject List