eg.
But is there any way to handle default values at the same time?
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
tstDef(&A, &B)
MsgBox A "," B "," val3
tstDef(&val1, &val2, val3:="Yes!")
{
val1 := "A"
val2 := 100
%val3% := val3
Return
}