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? Link to comment https://forums.phpfreaks.com/topic/46954-i-have-a-question-to-everyone/ 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'. Link to comment https://forums.phpfreaks.com/topic/46954-i-have-a-question-to-everyone/#findComment-230276 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 Link to comment https://forums.phpfreaks.com/topic/46954-i-have-a-question-to-everyone/#findComment-230282 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.