+ 2

what is deference between procédure & function

سلام عليكم ماهو الفرق بين الوضيفة و الاجراء

13th Jul 2016, 8:49 PM
LAMOURI Mohamed Lamine
LAMOURI Mohamed Lamine - avatar
3 Réponses
+ 4
Functions return values. Procedures only execute commands.
14th Jul 2016, 2:33 PM
ZinC
ZinC - avatar
+ 1
Actually these are different names for the same thing. They are just blocks of code that perform some repetitive tasks for you. And no, function is not obliged to return something. In your programming routine you will write hundreds of functions that do not return anything but instead just change the state of your code/data in different ways
24th Nov 2016, 4:45 PM
Alex B
Alex B - avatar
- 1
procedure n function both are same but mail difference is procedure may or may not return value but function should return value.
26th Nov 2016, 4:08 PM
sowjanya