View Single Post
  #23  
Old 08-07-2003, 04:06 AM
voicedcow6666 voicedcow6666 is offline
Registered User
Join Date: May 2002
Location: Texas
Posts: 182
voicedcow6666 is on a distinguished road
my turn for input.

For for statements, the initial varible you should use is i. If you must nest them, start with i, followed by j, then k, and so on.

NPC Code:

for (i=0;i<5;i++) {
}

for (i=0;i<5;i++) {
for (j=0;j<3;j++) {
for (k=0;i<1;k++) {
}
}
}

__________________
-Zega, Staff Advisor of Delteria
Reply With Quote