0 Members and 1 Guest are viewing this topic.
So I've been seeing the term "debug" or "debugging" be tossed around here and there and was curious what is meant by it exactlly. I also saw Ztrumpet say that he uses Rcl to help debug too. Can anyone explain this?
Or it could be like what weregoose does where he just keeps putting together random tokens until he gets the most efficient and speedy solution.
For(A,1,10)output(A,A/2,"A")End
Basicly, with Rcl you can recall certain numbers into your code. So say this happens: You have a program that looks likeCode: [Select]For(A,1,10)output(A,A/2,"A")Endwell, when you run this you get a domain error. So you press 2 to goto the part of your code. But then you want to look at what number it was that messed your code up, but don't want to go to the homescreen. So you press [2nd][Rcl] and then A to recall A into your code. Now you can see exactly what number messed up your code. Its a pretty useful method imo. If that doesn't make sense tell me.
Quote from: _player1537 on April 11, 2010, 02:10:06 amBasicly, with Rcl you can recall certain numbers into your code. So say this happens: You have a program that looks likeCode: [Select]For(A,1,10)output(A,A/2,"A")Endwell, when you run this you get a domain error. So you press 2 to goto the part of your code. But then you want to look at what number it was that messed your code up, but don't want to go to the homescreen. So you press [2nd][Rcl] and then A to recall A into your code. Now you can see exactly what number messed up your code. Its a pretty useful method imo. If that doesn't make sense tell me.That actually is pretty easy. Row/column numbers used in output can only be whole numbers, so for the statement For(A,1,10), A will be troublesome every other number. That is not a hammer situation. I can show you a hammer situation.