(now includes most useful Software Testing Questions)
Function Factorial(a) x=1 For i=1 to a x=x*i next Factorial=x End Function Msgbox Factorial(5)