Re: [WP34s] A few humble suggestions Message #2 Posted by fhub on 19 Aug 2012, 11:30 a.m., in response to message #1 by Dieter
Hi Dieter, a short remark about your point 2)
Exactly the same request I've already posted quite some time ago, but then I removed my post again because I found that this is already possible with a little trick:
If you single-step through a program and come to a 'XEQ lbl' so that this XEQ is the last command executed with the DownArrow key, the program counter is set to the called label. If you want to execute this subroutine at once (without single-stepping through it), then just use the R/S key, which does exactly what you want: it runs the subroutine until the RTN or END, and the PC is back again, i.e. after this you can just continue to single-step through your main program again by the usual DnArrow.
(BTW, this R/S not only works immediately after the XEQ, you can also do it after the subroutine LBL or after any following command in the subroutine).
But I haven't yet tried if/how this works for nested XEQs, i.e. if the subroutine calls another one - but I guess such a R/S will always execute a _complete_ subroutine (incl. nested ones).
Franz
Edited: 19 Aug 2012, 11:32 a.m.
|