rallokkcaz Posted April 14, 2007 Share Posted April 14, 2007 ive noticed that in alot of JS i see the variable "i" used alot is that needed? or do people just use that for the simplicity? Quote Link to comment Share on other sites More sharing options...
xenophobia Posted April 16, 2007 Share Posted April 16, 2007 Usually used for looping purpose or counting. No other meaning. Just like when you do math, the value 'x'. Quote Link to comment Share on other sites More sharing options...
paul2463 Posted April 16, 2007 Share Posted April 16, 2007 as above but when I was taught it, I was informed that as it is a counter(in loops etc), counting integers, they use "i" for integer. its a simple as that HTH Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.