Hi Bruno
i am testing an encryption routine in webcore and get crazy results and/or exceptions.
Finally i could shrink the code to following example:
procedure test;
var a,b,c : longword; // or cardinal
begin
a:=2654435769; // $9E3779B9
b:=1147237152; // $44617320
c:=a xor b;
end;
// c should be 3663071897 $DA560A99
in a windows exe i see a correct result but not in webcore.
i tested with the internal debugger (in win64 and chrome).
following error is raised:
ERROR
Uncaught [object Object] | fMessage:: fHelpContext::0
at http://localhost:8000/Login/Login.js [469:9]X
The Internal debugger in chrome sometime shows a crazy result:
c=-631895399
But longwords or cardinal should always be positive !!!
Any idea ?