Multiples of a number

Blitz3D Forums/Blitz3D Programming/Multiples of a number

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

So to check if the current level was 1, 6, 11, 16, or 21, I would do this:
If level = level Mod 5
       ;make level
EndIf

I've never used Mod before. I have no clue how it works.