Code: Select all
f("@@@@")
msgbox, % ""
. F({GetVar: "x"}) "`n"
. F({GetVar: "y"}) "`n"
. F({GetVar: "z"}) "`n"
. x " - " y " - " z
F(Options) ;_________________ F (Function) _________________
{
Static x, y, z ;"Static" variables, remember values between function calls
if (Options["GetVar"] != "") ;if not blank\empty
{
Options := Options["GetVar"]
return, (%Options%)
}
x := "xxxxxxxxxxxxx - " Options
y := "yyyyyyyyyyyyy - " Options
z := "zzzzzzzzzzzzz - " Options
}