P
Phil Jones
I usually like to write Function's rather than Sub's that return a Bool
indicating whether the procudure was successfull (in some contextual way).
I usually do this as a matter of course, whether I immedately need that flag
or not (just so that the design is laid down well in the first instance in
case I need to use it later - which often enough I do).
What I was wondering is whether there's any perforance hit (slight as it may
be) that a Function returning a value incurs over a Sub.
I ask because I remember some talk within performance circles about if a
Function doesn't explicitly return a value it's a little bit slower - that
leads me to ask whether a Function is just inherently slower in the first
place.
Thanks oh wise VB gurus...
===
Phil : NZ, Aotearoa
indicating whether the procudure was successfull (in some contextual way).
I usually do this as a matter of course, whether I immedately need that flag
or not (just so that the design is laid down well in the first instance in
case I need to use it later - which often enough I do).
What I was wondering is whether there's any perforance hit (slight as it may
be) that a Function returning a value incurs over a Sub.
I ask because I remember some talk within performance circles about if a
Function doesn't explicitly return a value it's a little bit slower - that
leads me to ask whether a Function is just inherently slower in the first
place.
Thanks oh wise VB gurus...

===
Phil : NZ, Aotearoa