In VB script, is it possible to pass a function name as an argument which I can then call?
Example:
Function FunctionWhichExecutesFunction (functionToCall)
Execute functionToCall in this case HelloFunction passed form Function1
End Function
Function Function1
FunctionWhichExecutesFunction (HelloFunction)
End Function
Function HelloFunction
'Do something here
End Function
Hope that's clear...
Example:
Function FunctionWhichExecutesFunction (functionToCall)
Execute functionToCall in this case HelloFunction passed form Function1
End Function
Function Function1
FunctionWhichExecutesFunction (HelloFunction)
End Function
Function HelloFunction
'Do something here
End Function
Hope that's clear...