Hi Przemek,

! 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.

Well, sorry, I'm almost brain-dead (just like when posting the
above), so I'm not sure if I will be able to give any proper fix
for this one right now :/

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to