I want to pass the output of one function as a parameter of another function without relying on temp-variables. The ways it tried it, it either did not recognize it as a function, and thus outputed 1, or was just empty. Expected output for the example below should be a1.
I tried it with msgbox % functionb(% functiona(),1); msgbox % functionb(functiona.call(),1) and msgbox % functionb(func("functiona"),1).
Is there a way to do it?
msgbox % functionb(functiona.call(),1)
functiona() {
return a
}
functionb(Var1, Var2) {
output := Var1 Var2
return output
}