added IfNotThen
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5649 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c8bed407f8
commit
1f2833272d
1 changed files with 3 additions and 1 deletions
|
@ -304,7 +304,9 @@ Section /o "Run tests" TESTS
|
|||
StrCpy $R2 ""
|
||||
${IfThen} $R1 = 1 ${|} StrCpy $R2 $R2A ${|}
|
||||
${IfThen} $R1 = 2 ${|} StrCpy $R2 $R2B ${|}
|
||||
${If} $R2 == "A"
|
||||
${IfNotThen} $R1 = 1 ${|} StrCpy $R2 $R2C ${|}
|
||||
${IfNotThen} $R1 = 2 ${|} StrCpy $R2 $R2D ${|}
|
||||
${If} $R2 == "AD"
|
||||
DetailPrint "PASSED IfThen test"
|
||||
${Else}
|
||||
DetailPrint "FAILED IfThen test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue