playground:glossary

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:glossary [2026-10-06 13:03] – [Classes] geekplayground:glossary [2026-10-06 15:12] (current) – [Syntax] geek
Line 1: Line 1:
 ====== Glossary ====== ====== Glossary ======
  
 +  * **Call** - Trigger some code to run, providing zero or more parameters
 +  * **Invoke** - To cause some code to be triggered, by any method
 +  * **Library** - A collection of code written by you or another user that you can use to expand AutoHotkey's functionality
 +===== Syntax =====
 +  * **Parentheses** - ''()'' - Used to call code with zero or more arguments, or to group together parts of an expression to change operator precedence
 +    * For example, ''MsgBox( 2 * (2+2) )''
 +  * **Brackets** - ''[]'' - Used to access Items from an object's Item Store, or declare an array literal
 +  * **Braces** - ''{}'' - Used to group together a logical "block" of code, or declare a basic object literal
 +  * **Angle Brackets** - ''<>'' - Most often used as Greater Than or Less Than operators, sometimes used when defining Arrow Functions
 +  * **Hotkey** - A block of code that runs when a key is pressed
 +  * **Function** - A reusable block of code, usually named, that can take zero or more parameters and optionally returns a value
 +  * **Built-In Function** - A function provided by AutoHotkey itself, like ''MsgBox'' or ''Send''
 +  * **Command** - A function call statement; a top-level function call where the parentheses around parameters are optional
 +    * For example, ''MsgBox "This is the first parameter""''
 +  * **Object** - A value that contains sub-values in a property store, and optionally in an item store
 +    * For example, ''var1 := { prop1: "Value1", prop2: "Value2"}''
 +  * **Array** - An object with an item store that stores values numerically indexed counting up from ''1''
 +    * For example, ''var1 := ["Value1", "Value2", "Value3"]'' / ''var2 := var1[2]''
 +  * **Map** - An object with an item store that stores values referenced by strings called keys
 +    * For example, ''var1 := Map("Key1", "Value1", "Key2", "Value2")'' / ''var2 := var1["Key2"]''
 ===== Classes ===== ===== Classes =====