Minor corrections

This commit is contained in:
Ron Pinkas
2001-02-26 12:01:15 +00:00
parent f7474e1cf6
commit 8b47c80e4c
2 changed files with 15 additions and 11 deletions

View File

@@ -709,6 +709,12 @@ PROCEDURE PP_Run( cFile )
bCompile := .F.
aSize( aProcedures, 0 )
#ifdef __CLIPPER__
Memory(-1)
#endif
RETURN
//--------------------------------------------------------------//
@@ -866,16 +872,14 @@ FUNCTION RP_Run_Err( oErr )
sArgs := Left( sArgs, Len( sArgs ) -2 )
ENDIF
#ifdef __CLIPPER__
IF oErr:SubCode == 1001
nProc := aScan( aProcedures, {|aProc| aProc[1] == ProcName(2 + 2) } )
IF nProc > 0
s_xRet := NIL
ExecuteProcedure( aProcedures[nProc] )
RETURN ( s_xRet )
ENDIF
IF oErr:SubCode == 1001
nProc := aScan( aProcedures, {|aProc| aProc[1] == ProcName(2 + 2) } )
IF nProc > 0
s_xRet := NIL
ExecuteProcedure( aProcedures[nProc] )
RETURN ( s_xRet )
ENDIF
#endif
ENDIF
Alert( "Sorry, R/T Error: '" + oErr:Operation + "' " + oErr:Description + sArgs + " " + PP_ProcName() + '(' + LTrim( Str( PP_ProcLine() ) ) + ')')

View File

@@ -1,9 +1,9 @@
PROCEDURE Main
PRIVATE cName
LOCAL cLocal
PRIVATE cName
CLS
CLEAR SCREEN
Alert( "Testinf PP as Interpreter... " )