ArrayArrayArrayArray BrainModular BrainModular Users Forum 2016-09-27T15:06:54+02:00 https://brainmodular.com/forums/app.php/feed/topic/5528 2016-09-27T15:06:54+02:00 2016-09-27T15:06:54+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35968#p35968 <![CDATA[Scripting - Differences between Procedures and Functions]]>
Without functions, you are stuck working far more with global variables. For a list of dangers associated with that, consult any Cobol programmer. Functions add readability and protection of values, overall adding stability.

I do not know if the HH engine adds any additional overhead to functions. Unlikely.

Statistics: Posted by shawnb — 27 Sep 2016, 15:06


]]>
2016-09-27T08:25:28+02:00 2016-09-27T08:25:28+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35965#p35965 <![CDATA[Scripting - Differences between Procedures and Functions]]> Statistics: Posted by oli_lab — 27 Sep 2016, 08:25


]]>
2016-09-26T23:58:39+02:00 2016-09-26T23:58:39+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35963#p35963 <![CDATA[Scripting - Differences between Procedures and Functions]]> Statistics: Posted by ahonoe — 26 Sep 2016, 23:58


]]>
2016-09-23T12:51:55+02:00 2016-09-23T12:51:55+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35950#p35950 <![CDATA[Scripting - Differences between Procedures and Functions]]>
I was curious of the differences of creating multiple called procedures vs. functions
being used. This might be a more Nay/Senso directed question but I thought was
very information...or quite possibly another coder could chime in with more
information regarding the usage of such.

I understand that the function results in a value, but a procedure does not......but,

I was also wondering if there was more processing involved with calling a procedure vs.
using a function? Obviously the code in the middle matters, but just in general...does a
procedure involve any more processing power than a function does?

-s

Statistics: Posted by sephult — 23 Sep 2016, 12:51


]]>
BrainModular BrainModular Users Forum 2016-09-27T15:06:54+02:00 https://brainmodular.com/forums/app.php/feed/topic/5528 2016-09-27T15:06:54+02:00 2016-09-27T15:06:54+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35968#p35968 <![CDATA[Scripting - Differences between Procedures and Functions]]>
Without functions, you are stuck working far more with global variables. For a list of dangers associated with that, consult any Cobol programmer. Functions add readability and protection of values, overall adding stability.

I do not know if the HH engine adds any additional overhead to functions. Unlikely.

Statistics: Posted by shawnb — 27 Sep 2016, 15:06


]]>
2016-09-27T08:25:28+02:00 2016-09-27T08:25:28+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35965#p35965 <![CDATA[Scripting - Differences between Procedures and Functions]]> Statistics: Posted by oli_lab — 27 Sep 2016, 08:25


]]>
2016-09-26T23:58:39+02:00 2016-09-26T23:58:39+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35963#p35963 <![CDATA[Scripting - Differences between Procedures and Functions]]> Statistics: Posted by ahonoe — 26 Sep 2016, 23:58


]]>
2016-09-23T12:51:55+02:00 2016-09-23T12:51:55+02:00 https://brainmodular.com/forums/viewtopic.php?t=5528&p=35950#p35950 <![CDATA[Scripting - Differences between Procedures and Functions]]>
I was curious of the differences of creating multiple called procedures vs. functions
being used. This might be a more Nay/Senso directed question but I thought was
very information...or quite possibly another coder could chime in with more
information regarding the usage of such.

I understand that the function results in a value, but a procedure does not......but,

I was also wondering if there was more processing involved with calling a procedure vs.
using a function? Obviously the code in the middle matters, but just in general...does a
procedure involve any more processing power than a function does?

-s

Statistics: Posted by sephult — 23 Sep 2016, 12:51


]]>