Page 1 of 1
int names
Posted:
Tue Jun 04, 2013 10:27 am
by ESL
When you make a statement like
int i or int j
What do the i and j stand for?
Re: int names
Posted:
Tue Jun 04, 2013 11:35 am
by schnellboot
both are just names
i comes from integer
j is just the next letter in the alphabet, it is commonly used when you need to i's because you cant use the same name twice
Re: int names
Posted:
Tue Jun 04, 2013 1:10 pm
by ESL
So I can say
int joe
joe=100
if joe<100;
{
createactor(bob.x, 0,0,0,false);
}
Re: int names
Posted:
Tue Jun 04, 2013 11:43 pm
by Hblade
^
yes