modulo(剰余)

剰余(整数除算の余り)を返す。

書式:
result = expression mod value

例:
for n=1 to 30
    print n mod 5
next

0 から 4までの値を30個をプリント