Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 For loop question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mike200015




PostPosted: Mon May 23, 2005 11:48 am   Post subject: For loop question

i have a for loop in my game that goes from 1..56. I need it to change to 1..156 if a person is on level 3. Whats the best way to do that? Should i make it a variable and change depending on the level?
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Mon May 23, 2005 12:33 pm   Post subject: Re: For loop question

mike200015 wrote:
Should i make it a variable and change depending on the level?

That would be the optimal method, yes.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: