Posted 27 February 2012 - 04:02 AM
hi i want to know how to make code go in a loop. i want to make a tree farm that will grow the tree and harvest it, but i have to restart the program every time i want to harvest a tree, is there a way to make it so when i launch the program it will ask me how many trees i want to harvest for example, lets say i right click the computer and the program starts up and says "How many trees would you like to harvest?" then i enter 8, so then it would loop through the code 8 times to harvest 8 trees.