| Author |
Reducing the amount of times the "function" command is called
|
Henry Enfray
Greenhorn
Joined: Apr 26, 2012
Posts: 3
|
|
Hi, I'm new to this forum and I'm a beginner programming. Thus, I hope to have help in learning how to program. My question is I'm trying to change the game program below so that the function command is used much less. Below, the function command had been called about 20 times, and I'm trying to rearrange it and/or make it so that the function command be used just 5 times or less, or as minimal amount of times as possible (because too many function commands for me gets confusing and I'm just trying to simplify it more). Thus, I was wondering what to do. Thanks.
|
 |
Greg Charles
Bartender
Joined: Oct 01, 2001
Posts: 2539
|
|
|
This definitely isn't Java. It looks like it could be JavaScript, so let's try it over in that forum.
|
 |
Henry Enfray
Greenhorn
Joined: Apr 26, 2012
Posts: 3
|
|
Greg Charles wrote:This definitely isn't Java. It looks like it could be JavaScript, so let's try it over in that forum.
Ok thanks
|
 |
 |
|
|
subject: Reducing the amount of times the "function" command is called
|
|
|