Archive: Comparing strings and executing code if some value


Comparing strings and executing code if some value
How can you compare if a string is some value and then execute certain code accordingly? I couldn't find this on the manual.


You didn't look hard enough!
See Chapter 4 > Instructions > Flow Control Instructions

Or you can try LogicLib
!include "LogicLib.nsh"

See Examples\LogicLib.nsh

-Stu


Okay thanks, that was kinda well hidden lol.