I just tested
? XTOC( 2007 )
in Mandriva 2009 and it returns NIL
Lorenzo Fiorini wrote:
On Fri, Jan 9, 2009 at 6:00 PM, Przemyslaw Czerpak <dru...@acn.waw.pl> wrote:
2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/ftoc.c
* harbour/contrib/hbct/misc1.c
* changed XTOC(), FTOC() and CTOF() to always store/retirve numbers as
double value in little endian order to reduce platform differences
; TOFIX intorduce new macro which can be used instead sizeof( double )
for platforms where double size is different then 8 and macro
HB_FORCE_IEEE754_DOUBLE is set
Sorry maybe I don't understand. What should returns XTOC with numbers?
In the doc I read:
...
. Numeric values always return an 8-byte string:
? XTOC(0) // Length 8
? XTOC(9.9) // Ditto
? XTOC(-9.9) // Ditto
? XTOC(99) // Ditto
? XTOC(-99) // Ditto
...
length 8 of what?
For ? XTOC( 2007 ) I still see "garbage" ( Ubuntu 8.10/x86 ).
best regards,
Lorenzo
_______________________________________________
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