home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
199.img
/
HYPE4.ZIP
/
DEBUG.HP
< prev
next >
Wrap
Text File
|
1990-05-08
|
982b
|
31 lines
; debug.hp -- HyperACCESS/5 HyperPilot debugging script
;
; $Revision: 1.0 $
; $Date: 13 Jul 1989 12:48:38 $
;
;
; This script can be used as a tool when developing HyperPilot scripts.
; When a script in running and encounters a command that causes that
; script to fail, the the script name, and the line number of the
; offending command are displayed on the comm screen. If debug.rdy
; is run immediately after this message is displayed, the script that
; failed is loaded into the editor with the cursor positioned on the
; line that failed. For ease of use, you may want to assign this script
; to a key, such as F1.
;
label(10)
ifnot screen match("manual control.", 24) branch(980)
ifnot get integer(I(9), "/S(9)") branch(980)
ifnot truncate(S(9), ".HP") branch(980)
type("<ALT-M>ke/S(9)<ENTER><ALT-O>jl/I(9)<ENTER><ALT-L>SS")
end()
Label(980)
prompt("/nDebug could not find error information.")
end()