steve at messimercomputing.com
Thu Apr 8 22:56:58 CDT 2004
When I attempt to calculate the factorial of numbers > 169 using the
function factorial theNumber
if theNumber <= 1 then return 1
else return theNumber * factorial(theNumber -1)
I get the following error. Anybody seen this before?
executing at 11:46:47 PM
Type Operators *: range error (overflow)
Object Bed Adequacy
Line else return theNumber * factorial(theNumber -1)
Is there a work around for this?
OSX 10.2.8, Rev 2.1.2, 512 MB of RAM
Stephen R. Messimer, PA
208 1st Ave. South
Escanaba, MI 49829
Build Computer-Based Training modules FAST with preceptorTools™ --
version 1.0.5 available Now!
More information about the use-livecode