ByRef - Default value - is it possible at the same time?
Posted: 11 May 2024, 04:34
ByRef - Seems to have become more possibilities to handle values from functions()
But is there any way to handle default values at the same time?
(I have never seen the instruction %val3% := 1.1 before)
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
}