Tutorial Concept Of Functions

Prasoon Arora

White Belt
To use a function it is really important to know what actually is the concept. Functions are same as subroutines but the difference is they return a value. The syntax to define any function is as mentioned below :
Syntax :
[Private/Public] [Static] Function function-name [Variables][As type]

Function itself as his type and return value based on the instructions.
 

Pooja Sharma

Well-Known Member
In programming languages it is set of statements to perform tasks. Most programming languages provide many built in functions that would otherwise require many steps to accomplish, for example computing the square root of a number. They can also be referred as predefined functions. Function is a type of procedure of routine.
 
Top