Reference/GetCurrentAddress
From NSIS Wiki
Jump to navigationJump to search
GetCurrentAddress
user_var(output)
Gets the address of the current instruction (the GetCurrentAddress) and stores it in the output user variable. This user variable then can be passed to Call or Goto.
Function func DetailPrint "function" IntOp $0 $0 + 2 Call $0 DetailPrint "function end" FunctionEnd Section DetailPrint "section" DetailPrint "section" GetCurrentAddress $0 Goto callFunc DetailPrint "back to section" Return callFunc: Call func DetailPrint "section end" SectionEnd
Command introduced with NSIS v1.80