Skip to content
⌘ NSIS Forum Archive

"register" variables

2 posts

Wladimir Mutel#

"register" variables

Hi,

Is there any significant difference
between $0..9 and $R0..9 ?
Or you should just use what you like ?
E.g., when you run out of $0..9, then use $R0..9 ?
Or there is more sophisticated principle ?

Thank you in advance for your replies.
Afrow UK#
Not really. Originally $0-9 were to be used for global scope and $R0-9 for local scope (i.e. in functions) or vise versa (I can't remember now). Now it doesn't really matter, but I still tend to use $R0-9 within my functions.

-Stu