请简单参考语法Public Function Test(ByVal ID As Integer) As Integer()Dim arr(3) As IntegerTest = arrEnd Function