Strange debugger behavior
Jay R. Ashworth
jra at baylink.com
Mon Oct 2 20:42:28 PDT 2006
On Sun, Oct 01, 2006 at 03:37:11PM -0500, Tom Carey wrote:
> I'm reasonably new to FP. Working on 4.05.07 DOS ( dont' ask).
>
> I find that the debugger seems to do things that I don't expect.
> I have a series of statements on a @wlf that check the @SK to see
> if it was an ENTR or SAVE key and branch off to different routines
> based on the key stroke and other combined conditions.
>
> If I single step thru the code, the first line correctly tests the
> @SK. Subsequent lines don't seem to preserve the @SK correctly, so
> the test for a SAVE key does not show as true. I am using the "S"
> key to single step thru the code.
As noted, an old documented bug. If you're stuck on that version, rip
@sk off into sk on the first line of your dispatcher routine, and
switch on that.
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
"That's women for you; you divorce them, and 10 years later,
they stop having sex with you." -- Jennifer Crusie; _Fast_Women_
More information about the Filepro-list
mailing list