IntCmp fails
Hello there,
given certain numbers IntCmp always fails for me.
Maybe it's just my processor which is bad at counting...
(I am using NSIS v2.46.5-Unicode.)
Name IntCmpTest
.exe
OutFile IntCmpTest
Section ""
>SectionEnd
>Function .onInit
StrCpy$0 "12345678901"
;StrCpy $0 "1234567890" ;works
;StrCpy $0 "99999999999" ;works
StrCpy$1 "1"
IntCmp $0 $1 equal less more
equal:
MessageBox MB_OK "'$0' = '$1'"
Abort ###
less:
MessageBox MB_OK "'$0' < '$1'" ;I always get this result...
Abort ###
more:
MessageBox MB_OK "'$0' > '$1'"
Abort ###
>FunctionEnd
>