27 lines
346 B
Plaintext
27 lines
346 B
Plaintext
set "local1" to 1
|
|
: "loop"
|
|
wait for 10
|
|
if "('local1' % 15)" = 0 then "fizzbuzz"
|
|
if "('local1' % 3)" = 0 then "fizz"
|
|
if "('local1' % 5)" = 0 then "buzz"
|
|
* "&local1&"
|
|
: "inc"
|
|
inc "local1" by 1
|
|
if "local1" <= 100 then "loop"
|
|
goto "done"
|
|
|
|
: "fizzbuzz"
|
|
* "FizzBuzz"
|
|
goto "inc"
|
|
|
|
: "fizz"
|
|
* "Fizz"
|
|
goto "inc"
|
|
|
|
: "buzz"
|
|
* "Buzz"
|
|
goto "inc"
|
|
|
|
: "done"
|
|
end
|