I have seen scripts with some things i dont understand what they mean.
SCAR Code:Continue; // ???
mod // what mean
div // ??
I dont know what they do.
I have seen scripts with some things i dont understand what they mean.
SCAR Code:Continue; // ???
mod // what mean
div // ??
I dont know what they do.
im not exactly sure but i think
mod, and div are like dividing. I've only seen them around RGB stuff
and Continue is used in loops but im not sure how...
SCAR Code:If FindColor(blablablablabl) then Continue;
If FindColor(blablablbalbalba) then Continue;
Writeln('Found both colors.');
That is how continue is used.
I am pretty sure div is dividing but when I tried it in SCAR it dosent have an integer variable...And mod i have no idea. Probably + 1 but inc does that...Someone else know? Thanks,
~Kyle~
![]()
mod give the remainder left from the division. remember long divison back in like grade 4 or whatever its like that kind of but only give the remainder. 16 mod 2 = 0 but 16 mod 3 = 1 (3 * 5 = 15 so there is one left over)
Mod = Remainder from division.
Div = Dividing some number with another one.
Thaks now i understand
There are currently 1 users browsing this thread. (0 members and 1 guests)