Archive: If-Then Structure


If-Then Structure
  Hello,
i'm quiet new to NSIS,
but something I don't understand is how can I make an If-Then thing?
Like this:

If (Var1 And Var2) = 0 Then

MsgBox "Program is not running!"
>Else
If (Var1 And Var2) <> 0 Then
MsgBox "Program is running! Quit it."
>End If
>End If

http://nsis.sourceforge.net/index.ph...&tx_faq_faq=25


Thank you,
but can I check two variable at once?
Like in Delphi (Var1 AND Var2)


Use multiple StrCmp commands.