| BCX Console Demonstration Program S37.bas |
"The known factorial of 34 is 2.952328e+038""The calculated factorial of 34 is ";Factorial!(34)FUNCTIONFactorial!(R!)IF(R! >0)AND(R! <=34)THENFUNCTION=R!*Factorial!(R!-1)ELSEFUNCTION=1ENDIFENDFUNCTION