2002-02-14 20:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>

This commit is contained in:
Alexander S.Kresin
2002-02-14 18:02:40 +00:00
parent 80666e316a
commit 86f3384935
2 changed files with 9 additions and 2 deletions

View File

@@ -7,6 +7,10 @@
For example:
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
This allows that the string-number conversions are same for program
and for compilation.
? ( val("1191.63") == 1191.63 ) -> TRUE
2002-02-17 20:20 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si>
*include/hbpcode.h
*Added newline at the end to clear gcc warning

View File

@@ -187,9 +187,12 @@ HB_FUNC( ADEL )
if( pArray )
{
if( ISNUM( 2 ) )
hb_arrayDel( pArray, hb_parnl( 2 ) );
long int ulPos = 1;
if( ISNUM( 2 ) )
ulPos = hb_parnl( 2 );
hb_arrayDel( pArray, ulPos );
hb_itemReturn( pArray ); /* ADel() returns the array itself */
}
}