langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
22
Task/Integer-comparison/NSIS/integer-comparison-1.nsis
Normal file
22
Task/Integer-comparison/NSIS/integer-comparison-1.nsis
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
Function IntergerComparison
|
||||
Push $0
|
||||
Push $1
|
||||
StrCpy $0 8
|
||||
StrCpy $1 2
|
||||
|
||||
IntCmp $0 $1 Equal Val1Less Val1More
|
||||
|
||||
Equal:
|
||||
DetailPrint "$0 = $1"
|
||||
Goto End
|
||||
Val1Less:
|
||||
DetailPrint "$0 < $1"
|
||||
Goto End
|
||||
Val1More:
|
||||
DetailPrint "$0 > $1"
|
||||
Goto End
|
||||
End:
|
||||
|
||||
Pop $1
|
||||
Pop $0
|
||||
FunctionEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue