Commit eb8926f7 by 潘际乾

Platform脚本文件修改

parent d0675117
......@@ -81,7 +81,7 @@ static void sysDump(String canceltext)
// ignore errors when unable to call the routine
ignoreError = Platform.errorCode();
// initialize the promptflag with cancel
boolean continuePrompt = tdPromptCancel;
boolean continuePrompt = Platform.intConvertBoolean(tdPromptCancel);
String dspErr = NULLSTR;
String admMsg = NULLSTR;
String usr = NULLSTR;
......@@ -115,7 +115,7 @@ static void sysDump(String canceltext)
continuePrompt = Platform.prompt( #CT000387, canceltext, lstFil, Platform.getTransName(), dspErr );
if( Platform.errorCode() > 0 )
{
continuePrompt = tdPromptCancel;
continuePrompt = Platform.intConvertBoolean(tdPromptCancel);
}
}
else
......@@ -148,7 +148,7 @@ static void sysDump(String canceltext)
}
String call = NULLSTR;
String flg = NULLSTR;
if( continuePrompt == tdPromptCancel )
if( continuePrompt == Platform.intConvertBoolean(tdPromptCancel) )
{
// If Sysdump occurs in routine LnkExit or the Userinterface is not available
// 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