On Apr 25, 2005, at 17:03, André Roberge wrote:

I'm writing a program "interpreter" which has two windows: a program editing window and a program output window.

The interpreter can either step through the program automatically, at a slow pace, or step through the program one instruction at a time, as the user "clicks" on a "step button".

The instructions being executed are highlighted one by one.

Question: should the highlighted instruction be the one that has just been executed, or the one that is about to be executed (when the user clicks on the step button, for example)?

That probably isn't what you're asking for, but my vote would go to "both". In different colors/tones, of course (for example, highlight in blue the instruction that is about to be executed, and in grey the one that has just been).
Lacking that, highlighting the instruction about to be executed makes more sense to me.


-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting and sweating as you run through my corridors... How can you challenge a perfect, immortal machine?"


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to