I thought a cool and useful part would be to have a Testing/Debug mode, where it runs through the program, but shows what it does for each line.

So if there was If statement it would show whether its true or false, if there is a -> or input/prompt then it shows what the variable is now, so if A/X->E, it shows what E is now.

It could possibly highlight which line it is currently on and have a pause or go line by line so that it is easy to see what went wrong of course it would still show the calculator screen and have the ability to input.

This would be really useful for something like a math program to see why outputs are incorrect or why it doesnt end up where you want it to go.

E.g.

20->A A=20
A/5->E E=4
If E=4 True
If A=8 False
Goto A Went to Lbl A
Lbl A (Would be highlighted to show it is currently here)
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement