JPHamlett
2009-11-19 19:20:13
Can someone plz explain to me what mod does and the other things like div and that junk it would be a great help
2009-11-19 19:20:13
2009-11-19 19:29:10
Writeln(IntToStr(33 mod 8));
2009-11-19 19:45:13
2009-11-19 20:35:44
2009-11-19 21:11:04
2009-11-20 10:58:32
WriteLn(IntToStr(6 mod 4));
{ Would result in 2 (4 fits once inside 6, the remainder = 2) }
WriteLn(IntToStr(100 mod 30));
{ Would result in 10 (30 fits three times inside 100, the remainder = 10 }
2009-11-20 17:57:29