19991012-16:00 GMT+1
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
19991012-16:00 GMT+1 Victor Szel <info@szelvesz.hu>
|
||||
* source/vm/hvm.c
|
||||
! hb_vmAnd(), hb_vmOr() - Value substitution on error added to .AND.
|
||||
and .OR. operators. (mentioned by Jose)
|
||||
|
||||
19991012-14:00 GMT+1 Antonio Linares <alinares@fivetech.com>
|
||||
* source/rtl/dates.c
|
||||
+ Added support for Windows requirements.
|
||||
|
||||
@@ -1817,7 +1817,17 @@ static void hb_vmAnd( void )
|
||||
hb_vmPushLogical( bResult );
|
||||
}
|
||||
else
|
||||
hb_errRT_BASE( EG_ARG, 1078, NULL, ".AND." );
|
||||
{
|
||||
PHB_ITEM pResult = hb_errRT_BASE_Subst( EG_ARG, 1078, NULL, ".AND." );
|
||||
|
||||
if( pResult )
|
||||
{
|
||||
hb_stackPop();
|
||||
hb_stackPop();
|
||||
hb_vmPush( pResult );
|
||||
hb_itemRelease( pResult );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void hb_vmOr( void )
|
||||
@@ -1833,7 +1843,17 @@ static void hb_vmOr( void )
|
||||
hb_vmPushLogical( bResult );
|
||||
}
|
||||
else
|
||||
hb_errRT_BASE( EG_ARG, 1079, NULL, ".OR." );
|
||||
{
|
||||
PHB_ITEM pResult = hb_errRT_BASE_Subst( EG_ARG, 1079, NULL, ".OR." );
|
||||
|
||||
if( pResult )
|
||||
{
|
||||
hb_stackPop();
|
||||
hb_stackPop();
|
||||
hb_vmPush( pResult );
|
||||
hb_itemRelease( pResult );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user