Hi! I'm maybe from old school but, for me, whebn it's time to call a method
from DCOM, remoting or web service returning a
string or anything else I use a function. It's more verbose.
In my new company, much of my coworker works with Public sub ( byval Itemx
as integer, byref returnCode as Integer).
I don't understand why they use this kind of sub and i'm wondering if this
kind of sub take more time to response?
So, my question is, I have to debate this point tomorrow PM, is there any
good raison why we should prefer function to sub with a byref when byref
variable only seve to return a value?
Tks
from DCOM, remoting or web service returning a
string or anything else I use a function. It's more verbose.
In my new company, much of my coworker works with Public sub ( byval Itemx
as integer, byref returnCode as Integer).
I don't understand why they use this kind of sub and i'm wondering if this
kind of sub take more time to response?
So, my question is, I have to debate this point tomorrow PM, is there any
good raison why we should prefer function to sub with a byref when byref
variable only seve to return a value?
Tks
Comment