I've been using StrCmp to compare numbers, and just realized that perhaps I should be using IntCmp.
This seems to work fine, but perhaps ignorance is not bliss:
StrCmp $R0 1 RegIsOne RegIsNotOne
; do something
; do something else
With numbers, are StrCmp and IntCmp equivalent? If not, what is the difference, and is IntCmp preferred?