int names

Game Editor comments and discussion.

int names

Postby ESL » Tue Jun 04, 2013 10:27 am

When you make a statement like
int i or int j

What do the i and j stand for?
ESL
 
Posts: 96
Joined: Mon Jun 28, 2010 2:05 am
Score: 1 Give a positive score

Re: int names

Postby schnellboot » Tue Jun 04, 2013 11:35 am

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
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: int names

Postby ESL » Tue Jun 04, 2013 1:10 pm

So I can say

int joe
joe=100
if joe<100;

{
createactor(bob.x, 0,0,0,false);

}
ESL
 
Posts: 96
Joined: Mon Jun 28, 2010 2:05 am
Score: 1 Give a positive score

Re: int names

Postby Hblade » Tue Jun 04, 2013 11:43 pm

^
yes
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest