Archive: $1 vs $R1


Difference of $R1 versus $1?
Hello,

I haven't used NSIS in a while and I can't seem to find any explanation what $R1 is in contrast to $1. Anyone able to shed some light?

Snowbird


There are both registers that are often used in shared code. There is no difference. Usually $R0-$R9 are used for more temporary values, but it's up to you.

For global values, it's easier to use your own variables:

Var MYVAR

StrCpy $MYVAR "bla"


Hmm... What does it have to do with path manipulation? Wrong button I guess. *split*