Prev Previous Post   Next Post Next
Old 17th November 2021, 11:23   #1
pocz
Junior Member
 
Join Date: Nov 2021
Posts: 8
Possible error on the Wiki about Macros and Functions

Macro vs Function - NSIS

Example 1.2.7 says
PHP Code:
Section Test
  Push 
"World"
  
; ...
  
Exch $0
  
; ...
  
DetailPrint "Hello World"
  
Pop $0
  
; ...
SectionEnd 
Shouldn't it be:
PHP Code:
Section Test
  Push 
"World"
  
; ...
  
Exch $0
  
; ...
  
DetailPrint "Hello $0"
  
Pop $0
  
; ...
SectionEnd 
Because otherwise the value "World" of $0 would not be used.
pocz is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
macros, sourceforge

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump