what is the mod command for DB? for QBasic it is MOD, for JAVA it is %, but i dont know what it is for DB.
i need to know because i need to know if the mouse is over a certain tile. so if i do
mx = mousex() - (mousex() % 10)
my = mousey() - (mousey() % 10)
thus making mx always divisable by 10 (right? maybe it needs a bit of tweeking, but thats the general idea)
thanx for any help
something grand i just found out, it aint
mod nor
%
but in this post
http://darkbasicpro.thegamecreators.com/?m=forum_view&t=19921&b=7
someone said that it was just MOD, but i assume it was only for DBPro, because i cant seem to get it to work, it gives me a "unknown command" error if i use MOD