Reference/Return

From NSIS Wiki
Revision as of 19:09, 27 November 2011 by Jan (talk | contribs) (Created page with "=Return= Returns from a function or section. <highlight-nsis>Function func StrCmp $0 "return now" 0 +2 Return # do stuff Fu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Return

Returns from a function or section.

Function func
  StrCmp $0 "return now" 0 +2
    Return
  # do stuff
FunctionEnd
 
Section
  Call func
  ;"Return" will return here
SectionEnd