Thread: % and timevar
View Single Post
  #10  
Old 02-21-2003, 04:21 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Quote:
Originally posted by PrinceDark
%
dir=(dir+2)%4;
=(1+2)%4
=3 - int(3 / 4) * 4
=3 - int(.75) * 4
=3 - 0*4
=3 - 0
I understand that. Thank you very much.
__________________
new account: Trevor
Reply With Quote