Scripting competition
Scott Rossi
scott at tactilemedia.com
Mon May 11 23:39:41 EDT 2009
Now that folks have posted some solutions that apparently work, can someone
explain why using a simple algorithm doesn't?
function findFib pNum
put 0 into num1
put 1 into num2
repeat pNum - 1
put num1 + num2 into num3
put num2 into num1
put num3 into num2
end repeat
return num3
end findFib
There's no decimals involved (unless you use a formula, which I've been
trying to do) so what limitation is the computer running up against?
Thanks for answering the mathemalacking of us.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
More information about the use-livecode
mailing list