restart question...
Mike Schwartz
mschw at athenet.net
Thu Feb 7 20:49:54 PST 2013
> Mike, what is the governing trigger for this section of code? (at top of
table,
> triggered solely by ESC ESC; @when-field; @update, etc.) That would make a
> difference for the answer. If it is just triggered by ESC ESC and
processing
> occurs from the top of the table and winds up there, and meets that
> condition, then when screen 3 is saved, processing should continue after
the
> semi-colon (executing the restart command). If this was part of @wlf
> processing, then I would expect it to behave as you thought it would.
>
> Bruce
Ah-ha! That may be the difference! It is in a subroutine called
"empchk", but "empchk" is called by a couple of @WLF subroutines AND I see
it might be called during "esc-esc" processing IF the user is on screen 4:
(First 190 lines of esc-esc processing snipped)
191 ------- - - -
þ If: @sn eq "4"
Then: gosub empchk
[more lines snipped]
******************************** End of esc-esc processing ****************
472 ------- - - -
empchk þ If:
Then: lookup comemp = empwh k=rn i=b -nx
[snip lines]
481 ------- - - -
þ If: 94 eq ""
Then: screen 3 81; restart
[snip lines]
Then: return
This is getting more interesting than I thought...
Thanks!
Mike Schwartz
More information about the Filepro-list
mailing list