\ $Id: fibo.gforth,v 1.2 2001/05/25 16:45:07 doug Exp $ \ fibonacci numbers \ http://www.bagley.org/~doug/shootout/ \ read NUM from last command line argument 0. argc @ 1- arg >number 2drop drop constant NUM \ compute fibonacci numbers : fib recursive dup 2 < if drop 1 else dup 2 - fib swap 1 - fib + then ; NUM fib 1 u.r cr bye \ th-th-that's all folks!