Examples








Click on the code to zoom in




HelloWorld.fclang

print[] Hello, World




Calculator.fclang

clrscr[]
print[] Enter your Math problem:
inp[] prob=
eq[] ans=%prob% 2>nul
print[] Answer: %ans%
stop[]
inf_loop[]




Fizzbuzz.fclang

eq[] count=0
while[] %count% LSS 100
    eq[] count++, a=count %% 15, b=count %% 3, c=count %% 5
    if[] %a% == 0 (
        print[] FizzBuzz
    ) elif[] %b% == 0 (
        print[] Fizz
    ) elif[] %c% == 0 (
        print[] Buzz
    ) el[] print[] %count%
endwhile[]