+ 1

What is the difference between functions and procedures?

26th Feb 2017, 9:02 AM
mahmood motallebi
mahmood motallebi - avatar
2 Respuestas
+ 8
This is a good question, and I some what consider them the same thing BUT.... A function is a separate functioning procedure that is summoned/invoked with or without parameters in order to carry out a task or "procedure" defined by the developer. The procedure depends on the circumstance really, I must say I got a little confused lool because it's simple but tricky at the same time.
26th Feb 2017, 12:40 PM
Mark Foxx
Mark Foxx - avatar
+ 3
A procedure is just a special case of a function, when it doesn't return value...
26th Feb 2017, 1:30 PM
visph
visph - avatar