It's also worth mentioning that hb_parnl() is no more
able to retrieve DATE values as LONG numbers.
This may be used by some 3rd party code in this way
for historical reasons, since in Clipper there was
no other way.
In, Harbour hb_pardl() should be used for this purpose,
which is available since long, but now is obligatory.
Brgds,
Viktor
On 2009.06.24., at 18:53, Przemyslaw Czerpak wrote:
On Wed, 24 Jun 2009, Szak�ts Viktor wrote:
I was holding these back, because it seems better to fix hb_par*()
(and
other involved API) call parameter list to actually use the 'const'
modifier.
Exactly. We should change returned value from 'char *' to 'const
char *'.
I hope it will force code updating.
Please also note that now default values inb hb_par*() functions are
much
more precise defined and we do not have to make:
fVal = ISLOG( 1 ) && hb_parl( 1 );
but we can simply use:
fVal = hb_parl( 1 );
I removed all hidden conversion between types from hb_par*()
functions.
In longer terms it should give simpler and faster code.
best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour