tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
12
Task/Named-parameters/AutoHotkey/named-parameters.ahk
Normal file
12
Task/Named-parameters/AutoHotkey/named-parameters.ahk
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
MyFunc( "Val=0, w=1024, Text=The Quick Brown Fox, newVar=I'm New" )
|
||||
|
||||
MyFunc( _overrides="" ) {
|
||||
Static x=5, y=5, w=100, h=100, Count
|
||||
Name:="AutoHotkey", Type:="Scripting", Text:="qwerty", Val:=True
|
||||
|
||||
Loop, Parse, _overrides,`,=, %A_Space% ; Override routine for Local/Static variables
|
||||
A_Index & 1 ? (_:=A_LoopField) : (%_%:=A_LoopField)
|
||||
|
||||
Listvars
|
||||
WinWaitClose, %A_ScriptFullPath%
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue