What is a function?

Author Topic: What is a function?  (Read 696 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • Hot Shaper
What is a function?
« on: 01-09-2017, 05:51:05 »
A function is a way of wrapping up a chunk of code and giving that chunk a name, so that you can use that chunk later in just one line of code. Functions are most useful when you will be using the code in more than one place, but they can be helpful even in one-use situations,
because they can make your code much more readable.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3066 Views
Last post 11-04-2011, 00:33:08
by mack0
0 Replies
1181 Views
Last post 12-19-2015, 02:55:07
by chinmay.sahoo
0 Replies
731 Views
Last post 10-14-2016, 02:06:01
by beingchinmay
0 Replies
720 Views
Last post 10-17-2016, 05:11:01
by beingchinmay
1 Replies
1438 Views
Last post 09-27-2017, 00:51:43
by damponting44