B
baobob
If I set watch points for Params and SubParams below, I find that
Params has one dimension but SubParams has TWO:
Function Func(ParamArray Params) as String
... = SubFunc(Params)
End Function
Function SubFunc(ParamArray SubParams) as String
...
End Function
The following (to me) ludicrous kludge fixes the problem, making
SubParams the nice, obedient 1-dim array equivalent to Params that it
should be:
Function Func(ParamArray Params)
... = SubFunc(Params(0))
End Function
What in HELL is this? String theory?
***
Params has one dimension but SubParams has TWO:
Function Func(ParamArray Params) as String
... = SubFunc(Params)
End Function
Function SubFunc(ParamArray SubParams) as String
...
End Function
The following (to me) ludicrous kludge fixes the problem, making
SubParams the nice, obedient 1-dim array equivalent to Params that it
should be:
Function Func(ParamArray Params)
... = SubFunc(Params(0))
End Function
What in HELL is this? String theory?
***