E
ext237
Hi,
I recently saw some VB code and there was a shortcut and I was hoping
someone knew what is its correct term.
When creating an object that required parameters (or a function), rather
than putting blanks or nulls in optional parameters, the code named the
param and gave it a value.
In other words, if the function was defined as
functionName(optionalParam1, optionalParam2, optionalParam3, optionalParam4)
it could be called as
functionName(optionalParamName3=paramValue3, optionalParamName4=paramValue4)
or something like that. I would like to read more about this, but what is
it called?
I recently saw some VB code and there was a shortcut and I was hoping
someone knew what is its correct term.
When creating an object that required parameters (or a function), rather
than putting blanks or nulls in optional parameters, the code named the
param and gave it a value.
In other words, if the function was defined as
functionName(optionalParam1, optionalParam2, optionalParam3, optionalParam4)
it could be called as
functionName(optionalParamName3=paramValue3, optionalParamName4=paramValue4)
or something like that. I would like to read more about this, but what is
it called?