Tells filePro to execute the keystroke as if the
user pressed it (similar to PUSHKEY). Only the first
character is used, and it need not be the same as the
current @key event. DOKEY does an implicit END after
running the default behavior.
DOKEY does not interfere with PUSHKEY, and in fact, they can
be used in conjunction.
Example:
@keyB if: ' to trap "B" and then load the "mybrowse" browse format
then: pushkey "flmybrowse[ENTR][ENTR]" ; DOKEY "B"
The pushkey does a F-File, L-Load, mybrowse, Enter to select
the browse, and then Enter to execute the browse.
Example:
@keyX
then: mesgbox "Are you sure you want to exit?","","YN"
if: @bk eq "Y"
then: DOKEY "X" 'Note that DOKEY does an implicit END
then: mesgbox "Exit cancelled"
then: end