
A value equal to zero is treated as false and any non-zero value works like true.


However there are many reasons why this would not be optimal.Īll programming languages provide a concept called loop, We can certainly write MsgBox commands a thousand times Now you want to write Hello, World! one thousand times. When the above program is executed, it produces a msgbox 5 times with this content − Here is a simple AHK script to do that − Msgbox % "Hello, World!" More than once, let’s just say five times. So remember to check out other loops like:įor-loop and file-reading loop that are also available in AHK to learn how they work.īut now let’s consider a situation where you want to show Hello, World! in a dialog on screen. You can find more in the AutoHotkey documentation /other resources Once you are clear about these two loop commands, So I’ll discuss two of the loops available in AutoHotkey. One of AutoHotkey’s basic concepts in a non-programmers way
#Daoc ghost ui help how to#
Let’s discuss the loop and how to use it in AHK
