home *** CD-ROM | disk | FTP | other *** search
- on CHECKFOR
- global UPGCOUNT, UPG, WHICHDOC
- if (the key = "e") or (the key = "E") then
- go("CLOSEOUTREG")
- end if
- if UPG = 1 then
- exit
- end if
- set UPGCOUNT to UPGCOUNT + 1
- if UPGCOUNT > 2 then
- exit
- end if
- dontPassEvent()
- if the key = "$" then
- go("GETUSER")
- end if
- if (the key = "P") or (the key = "p") then
- set WHICHDOC to 1
- printText(field "ordform")
- end if
- end
-