I search for this for some time but I can't find the answer.
I read the doc unsuccessfully (https://lexikos.github.io/v2/docs/Functions.htm#VariadicCall).
We can use named parameters when week-end call a function.
It is possible to store these named parameters in a variable, then pass this variable as parameter ?
Here is an example with pseudo-code :
Code: Select all
my_func(day, month, year) {
MsgBox day " " month " " year
}
my_func(day := 12, month := 04, year := 2022) ; This works.
params := {%day% : 12, %month% : 04, %year% : 2022} ; Not sure about the "%"...
my_func(params*) ; I would like this to work.