Thread: % and timevar
View Single Post
  #2  
Old 02-20-2003, 03:35 AM
RTelvecho RTelvecho is offline
Banned
RTelvecho's Avatar
Join Date: Oct 2002
Location: Toronto, Ontario, Canada
Posts: 807
RTelvecho is on a distinguished road
Send a message via AIM to RTelvecho
timevar uses the server time or something, its more ifficient than adding manually i guess...

% is not for getting time, its like until

this.var=(this.var+1)%5;
Means
Add 1 to this.var until its value is 4 then go back to 0 and start again.
Reply With Quote