Hi,
After reviewing my notes, I found a program I wrote to
implement a coroutine after reading about them in Knuth's
book. So a routine that gets user input and updates the
upper display. If a request from the user to go to the bottom
of the screen is seen, a jump to the other routine is made.
Which gets user input and updates the lower screen until a
request to go to the upper display is seen.
Unfortunately, the comments in the program state that it
didn't really get the intended job done. Supporting Knuth's
comment that it is difficult to find a good, small example of
coroutines. But it is easy to write a really clunky one.
Cheers,
Steve N.