Commit eb8926f7 by 潘际乾

Platform脚本文件修改

parent d0675117
...@@ -81,7 +81,7 @@ static void sysDump(String canceltext) ...@@ -81,7 +81,7 @@ static void sysDump(String canceltext)
// ignore errors when unable to call the routine // ignore errors when unable to call the routine
ignoreError = Platform.errorCode(); ignoreError = Platform.errorCode();
// initialize the promptflag with cancel // initialize the promptflag with cancel
boolean continuePrompt = tdPromptCancel; boolean continuePrompt = Platform.intConvertBoolean(tdPromptCancel);
String dspErr = NULLSTR; String dspErr = NULLSTR;
String admMsg = NULLSTR; String admMsg = NULLSTR;
String usr = NULLSTR; String usr = NULLSTR;
...@@ -115,7 +115,7 @@ static void sysDump(String canceltext) ...@@ -115,7 +115,7 @@ static void sysDump(String canceltext)
continuePrompt = Platform.prompt( #CT000387, canceltext, lstFil, Platform.getTransName(), dspErr ); continuePrompt = Platform.prompt( #CT000387, canceltext, lstFil, Platform.getTransName(), dspErr );
if( Platform.errorCode() > 0 ) if( Platform.errorCode() > 0 )
{ {
continuePrompt = tdPromptCancel; continuePrompt = Platform.intConvertBoolean(tdPromptCancel);
} }
} }
else else
...@@ -148,7 +148,7 @@ static void sysDump(String canceltext) ...@@ -148,7 +148,7 @@ static void sysDump(String canceltext)
} }
String call = NULLSTR; String call = NULLSTR;
String flg = NULLSTR; String flg = NULLSTR;
if( continuePrompt == tdPromptCancel ) if( continuePrompt == Platform.intConvertBoolean(tdPromptCancel) )
{ {
// If Sysdump occurs in routine LnkExit or the Userinterface is not available // If Sysdump occurs in routine LnkExit or the Userinterface is not available
// cancel does not return to application // cancel does not return to application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment