|
-
I'm trying to learn actionscripting on my own and I am just wondering what does the "i" mean. I see it all over the place such as: for(i=0;i<myArray.length;i++){
Is this a standard or do people use it just as math teachers use "x" and "y"
just wondering?
-
Hi,
yup, "i" is generally a standard for a counter (increment)
-
Yes ... it is a variable, can be replaced with anything.
But usually use i (increment)
for (i=0; i<=4; i++) {
for (j=0; j<=4; j++) {
// action
}
}
Actionscript is similar to javascript.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|