% $Id: fibo.slang,v 1.0 2002/11/26 10:33:00 dada Exp $ % http://dada.perl.it/shootout/ % % contributed by John E. Davis define fib (); define fib(n) { if (n < 2) return 1; fib(n-2) + fib(n-1); } vmessage ("%d", fib(integer (__argv[1])));