SOLVED: UPDATE doesn't break debug?

Jay R. Ashworth jra at baylink.com
Sat Mar 8 08:39:30 PST 2008


On Sat, Mar 08, 2008 at 10:53:45AM -0500, Barry Wiseman wrote:
> Jay R. Ashworth wrote:
> >I'm working on some code where I need the user to go directly into the
> >screen, in update mode -- it's catching scans from a laser scanner --
> >and I'm using -xs rec1 to stand on a blank record, and UPDATE in
> >@ENTSEL to get into update mode.
> >
> >Now, that works ok -- though it's a bit tough, apparently, to catch the
> >BRKY and exit it for some reason -- but my *real* problem is that I'm
> >having difficulty further down the code, and when I run the table in
> >-DB, *UPDATE does not take me to entry mode on the screen*.
> >
> >*I* call that a bug, can anyone disagree?
> >
> >It's not as annoying as the few Heisenbugs I've had in 20 years where
> >it worked ok in dclerk (where I could debug it), but broke in rclerk...
> >but those all date to 4.0.
> 
> Instead of UPDATE, try:
> 
> ::pushkey "U"; end:

Well, embarassingly enough, according to the STN book, the problem is
I'm not supposed to be using UPDATE at all; I'm supposed to be using
SCREEN, cause I'm *not in automatic processing*.

Oops.

Nevermind.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)



More information about the Filepro-list mailing list