I have a situation where it would be very useful to pass in several parameters into a function, and then I want to use one of those parameters as the name of the next function to call.
functionAlpha Var1, Var2
if Var1 is a valid parameter then
LogWarning “You have made the call with a function that does not exist.”
Does anyone know of a way to actually use the string value within a variable as the name of a function for this purpose? I have found that a long series of if and else if statements works, but I have over 600 different values that could be passed into the function.