DISPLAY in auto
Jay R. Ashworth
jra at baylink.com
Wed Jul 21 07:10:34 PDT 2004
On Wed, Jul 21, 2004 at 12:47:48AM -0400, Kenneth Brody wrote:
> "Jay R. Ashworth" wrote:
> > In some automatic processing, I'm doing this:
> >
> > :2 ne "":lookup hdr=passhdr k=2 i=1 -nx:
> > :hdr:display 8; sleep "5"; exit "1":
> >
> > Repeated for fields 3 through 8.
> >
> > The lookup part works correctly, but after switching to screen 8 (also
> > correctly), it never exits. I'm testing $? in the calling filepro menu
> > script to decide to skip some posting code, and it's never "1", even if
> > I eXit by hand.
> >
> > Am I doing something wrong here? The manuals seem to suggest that that
> > code fragment ought to do what I want.
>
> "Works fine here." (5.0.12 and 5.0.13)
>
> Out of curiosity, if you remove the DISPLAY, does it work? (If not,
> then the DISPLAY is irrelevent.)
If I use the display, it switches screens, if I *don't* use it, it
doesn't switch screens; quoting the "8" seems irrelevant. It's the
*exit* that doesn't happen.
> ========== automatic
>
> ::input popup yn(1,yesno) "EXIT from auto? ":
> :yn = "y":display (@sn) ; exit "2" ; errorbox "Oops! It didn't exit from auto!":
> :yn = "y":errorbox "Big oops! How did I get here in auto?":
> ::end:
>
> ========== input
>
> ::end:
> @entsel::show "Press \{X} to EXIT from input prc":
> ::end:
> @keyX::input popup yn "EXIT from input? ":
> :yn = "y":exit "3" ; errorbox "Oops! It didn't exit from input!":
> ::end:
I'll try those... but is it in fact defined to work in auto?
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
"You know: I'm a fan of photosynthesis as much as the next guy,
but if God merely wanted us to smell the flowers, he wouldn't
have invented a 3GHz microprocessor and a 3D graphics board."
-- Luke Girardi
More information about the Filepro-list
mailing list