I am not a professional programmer, programming ability is very limited,
When do we found, when the array is calculated, in order to call the same function, must be in the form of a two-dimensional array is not convenient,
Otherwise you need to write respectively for one and two dimensional array of functions, and the function may not be the same, with easy call wrong also don't convenient,
In after a short study, realized according to different dimensions of the array function overloading, is not afraid to call after wrong,
I wrote a small inversion array element function, and share with everyone, accounts for the different dimensions of an array parameter and can realize overloading,
In the BBS learned many knowledge, also contribute their own careful this time, for the first time post, writing is not good, forgive me!
CodePudding user response:
Share the code also capture bad reviewCodePudding user response:
VBA cannot be overloaded? That at least parameters are omitted, and don't have a lot of heavy load,CodePudding user response:
This is a very basic things, you can even write a class reloadingCodePudding user response:
Per capita 10 + years related experience in here, and this can know