且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

数组可以声明为常量吗?

更新时间:2022-06-23 22:49:55

您可以使用函数返回数组并将该函数用作数组.

You could use a function to return the array and use the function as an array.

Function ContantArray()
    ContantArray = Array(2, 13, 17)
End Function