mod funktie

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
goofie123
Posts: 1
Joined: Sat Aug 04, 2007 8:41 am

mod funktie

Post by goofie123 »

what does the mod funktie in counts task

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

"MOD" is the "modulus" operator ("%" in C code). Here's a quick example to illustrate:

"x = 56 MOD 10" would leave x with the value 6.

Post Reply