Here are the articles and discussions I have found, but they aren't about AHK:
- https://www.quora.com/What-is-the-difference-between-condition-and-expression-in-Python/answer/Mayank-Pathak-2 - Python, a question and an answer
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Expressions - JavaScript, a section in Mozilla documentation.
- https://docs.oracle.com/cd/A87860_01/doc/server.817/a85397/expressi.htm - Java, this article doesn't provide a way to use an anchor link, so you should use Ctrl+F to find the "Conditions" section. It could be quickly achieved if you search for a "Here are some valid conditions" passage.
But this view is not the same as AHK view.
Expressions in AHK:
Code: Select all
; Expressions:
var := "foo" ; - the code within () only
if (var = "foo") ; - the code within () only
msgbox % 1 + 1 ; - the code after the % sign only
Code: Select all
; Expressions and conditions:
var := "foo" ; - expression, the code within () only
if (var = "foo") ; - c o n d i t i o n, the code within () only
msgbox % 1 + 1 ; - expression, the code after the % sign oly
That is to say, AHK doesn't use the word "condition". Conditions are actually called expressions. Right?