Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reducing the amount of times the "function" command is called

 
Henry Enfray
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This definitely isn't Java. It looks like it could be JavaScript, so let's try it over in that forum.
 
Henry Enfray
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic