Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Variables/AutoHotkey/variables.ahk
Normal file
10
Task/Variables/AutoHotkey/variables.ahk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
x = hello ; assign verbatim as a string
|
||||
z := 3 + 4 ; assign an expression
|
||||
if !y ; uninitialized variables are assumed to be 0 or "" (blank string)
|
||||
Msgbox %x% ; variable dereferencing is done by surrounding '%' signs
|
||||
fx()
|
||||
{
|
||||
local x ; variable default scope in a function is local anyways
|
||||
global y ;
|
||||
static z=4 ; initialized once, then value is remembered between function calls
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue