Factorial in Falcon

Example for versions Falcon 0.9.6.6

This example uses recursive factorial calculation.

function fact(n)
    if n==0: return 1
    return n * fact(n-1)
end

for i in [0:16]
    printl (i, "! = ", fact(i))
end