# Funktionsreferenz

Call

Calls a user-defined function contained in a string parameter.

Call ( "function" )

Parameter

function | The name of the user function to call.

Bemerkungen

The function cannot take any parameters and cannot be a built-in AutoIt function.

Siehe auch

AdlibEnable

Beispiel

For $i = 1 to 2
$ret = Call("test" & $i)
MsgBox(4096,"", $ret)
Next
Func test1()
Return "Hello"
EndFunc
Func test2()
Return "Bye"
EndFunc