See ChangeLog entry 19990604-13:05 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-06-04 18:13:36 +00:00
parent ada19e995f
commit 25daef225a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
19990604-13:05 EDT David G. Holm <dholm@jsd-llc.com>
* source/vm/hvm.c
- Corrected ForTest() to use the correct decimal count
19990604-12:35 EDT David G. Holm <dholm@jsd-llc.com>
* source/rtl/dates.c
- Corrected HARBOUR DOW() to use _retni() instead of _retnl()

View File

@@ -863,6 +863,7 @@ void ForTest( void ) /* Test to check the end point of the FOR */
if( IS_NUMERIC( stack.pPos - 1 ) )
{
WORD wDec = stack.pPos->wDec;
dStep = PopNumber();
if( dStep > 0 ) /* Positive loop. Use LESS */
Less();
@@ -872,7 +873,7 @@ void ForTest( void ) /* Test to check the end point of the FOR */
printf( "step of zero will cause endless loop" );
/* Add some break code or so... */
iEqual = PopLogical(); /* Logical should be on top of stack */
PushNumber( dStep, stack.pPos->wDec ); /* Push the step expression back on the stack */
PushNumber( dStep, wDec ); /* Push the step expression back on the stack */
PushLogical( iEqual );
}
else