On Wed, 17 Sep 2008, Szak�ts Viktor wrote: Hi Viktor,
> Harbour Regression Test Suite > Copyright (c) 1999-2008, http://www.harbour-project.org/ > --------------------------------------------------------------------------- > Version: Harbour 1.0.1 Intl. (Rev. 9429) > Compiler: GNU C 4.0.1 (64 bit) > OS: Darwin 9.5.0 i386 > Date, Time: 2008.09.17 22:30:45 > Output: (stdout) > Shortcut opt.: ON > Switches: > ======================================================================== > R No. Line TestCall() -> Result > > | Expected > --------------------------------------------------------------------------- > ... > ! 1266 MAIN_STR(66) Str(R_PASSENL( 1860637360 )) > Result: "1860637360" > Expected: " 1860637360" > ! 1269 MAIN_STR(69) Str(R_PASSENL( 1000000000 )) > Result: "1000000000" > Expected: " 1000000000" > ! 1270 MAIN_STR(70) Str(R_PASSENL( 2147483647 )) > Result: "2147483647" > Expected: " 2147483647" > ! 1271 MAIN_STR(71) Str(R_PASSENL( 2147483648 )) > Result: "2147483648" > Expected: " -2147483648" > ! 1277 MAIN_STR(78) Str(R_PASSENLC()) > Result: "1000000000" > Expected: " 1000000000" It's normal. Just simply [U]LONG is 64 bit integer on all "normal" 64-bit platforms and you hard coded in the above tests 32bit LONG behavior :-) I thought you made it intentionally. The results are perfectly valid and expected. Only Win64 has 32 bit LONG. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour