@anonymous/WryBuoyantReptile
Lua

No description

repl talk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- lua
function fizzbuzz(x)
    local div3, div5, n;   -- var declaration
 
    for i=1,x
    do
        div3 = "";
        if (i%3 == 0)
        then
            div3 = "fizz";
        end

        div5 = "";
        if (i%5 == 0)
        then
            div5 = "buzz";
        end
            
        n = "";
        if (div3 == "" and div5 == "")
        then
            n  = tostring(i);
        end
        
        print( div3..div5..n )
    end
end
 
fizzbuzz(100);
Lua 5.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio [GCC 4.2.1 (LLVM, Emscripten 1.5)] on linux2