引用内部函数的代码为
Dim biaos() As Table = {cgndx,cgdetail}
Functions.Execute("E1窗口加载",biaos)
内部函数的代码为
Dim biaos() As Table = args(0)
... ...
如果内部函数只有一个接收参数且参数为一个类型为表的数组,使用内部函数则会报以下错
Exception has been thrown by the target of an invocation.
Unable to cast object of type 'Foxtable.Table' to type 'Foxtable.Table[]'.
如果添加第二个接收参数,比如
Dim biaos() As Table = args(0)
Dim bi As string = args(1)
内部函数就可以正常引用,是什么原因?