In AutoHotkey, function calls can be specified with or without
parentheses. The pArEnThEsEs are usually
... or the fUnCtIoN name is not written at the start of the line.
... or the fUnCtIoN name is not written at the start of the line.
In AutoHotkey, function calls can be specified with or without parentheses. The parentheses are usually only necessary if the return value of the function is needed or the function name is not written at the start of the line.
; These are function calls without parentheses:
MsgBox "This is some text."
StrReplace Input, 'AutoHotKey', "AutoHotkey"
SendInput 'This is awesome{!}{!}{!}'
; These are function calls with parentheses:
SubStr("I'm scripting, awesome!", 17)
FileExist(VariableContainingPath)
Output := SubStr("I'm scripting, awesome!", 14) ; the fUnCtIoN name is
; not written at the start of the line.
(fill-paragraph nil t)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(xah-increment-digit)
(xah-increment-digit)
(sgml-delete-tag 1)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)(mmm-ify-region 'web-mode (region-beginning) (region-end))
(mmm-mode )
(sgml-attributes "big")
(read-only-mode 'toggle)
(command-history)
(fill-paragraph nil t)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)
(cycle-quotes)