home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: ERR_2.PRG ⌐ª
- *⌐ª Function: ┤φ╬≤┤ª└φ╫╙│╠╨≥╢■ ⌐ª
- *⌐ª Usage: ON ERROR DO ERR_2 WITH PROGRAM(), LINENO),; ⌐ª
- *⌐ª ERROR(), MESSAGE(1), MESSAGE() ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- PARAMETERS mPROGRAM,mLINE, mERROR,mMESS,mMESS1
- SET CURSOR OFF
- CLEAR
- DEFINE WINDOW WIN_E2 FROM 10,5 TO 18,75 SHADOW COLOR SCHEME 7
- ACTIVATE WINDOW WIN_E2
-
- @0,2 SAY " ╖ó╔·┤φ╬≤╡─│╠╨≥├√│╞: "+mPROGRAM
- @1,2 SAY " ╖ó╔·┤φ╬≤╡─│╠╨≥╨╨║┼: "+LTRIM(STR(MLINE))
- @2,2 SAY " ┤φ╬≤┤·┬δ: "+LTRIM(STR(mERROR))
- @3,2 SAY " ┤φ╬≤╨┼╧ó: "+mMESS
- @4,2 SAY " │÷┤φ│╠╨≥─┌╚▌: "+mMESS1
-
- @6,10 GET act PICTURE "@*HN ╝╠╨°;╓╪╩╘;╖╡╗╪╓≈│╠╨≥;═╦│÷";
- SIZE 1,10,1 DEFAULT 0 VALID actvalid()
- READ CYCLE
-
- FUNCTION actvalid
- DO CASE
- CASE act = 1
- DEACTIVATE WINDOW WIN_E2
- RETURN
- CASE ACT = 2
- DEACTIVATE WINDOW WIN_E2
- RETRY
- CASE ACT = 3
- DEACTIVATE WINDOW WIN_E2
- RETURN TO MASTER
- CASE act = 4
- QUIT
- ENDCASE
- RETURN