Kaydet (Commit) 9b171751 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS ab26 (1.21.78); FILE MERGED

2006/04/28 07:01:30 ab 1.21.78.1: #111791# Error as command
üst e8deba22
......@@ -4,9 +4,9 @@
*
* $RCSfile: step0.cxx,v $
*
* $Revision: 1.21 $
* $Revision: 1.22 $
*
* last change: $Author: rt $ $Date: 2005-09-07 21:42:01 $
* last change: $Author: rt $ $Date: 2006-05-05 08:50:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -946,7 +946,8 @@ void SbiRuntime::StepEMPTY()
void SbiRuntime::StepERROR()
{
SbxVariableRef refCode = PopVar();
ULONG n = refCode->GetLong();
Error( n );
USHORT n = refCode->GetUShort();
SbError nError = StarBASIC::GetSfxFromVBError( n );
Error( nError );
}
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