I can also declare it as an openArray, and then I can pass both an array with values and an empty one, e.g.. proc myFunc(a: openArray[int], b: ...
確定! 回上一頁