例如,下列的程式碼就會導致此錯誤: Dim MyArray() As Integer MyArray(8) = 234 ' 導致錯誤9。 Visual Basic 並不會將沒有指定範圍的陣列自動設為0 - 10。
確定! 回上一頁