将同一行上定义多个变量的代码分开,单独定义每个变量。例如:
错误示例:
Sub test(ByRef a As Integer, ByRef b As Integer) Dim c As Integer, d As Integer End Sub
修正后的示例:
Sub test(ByRef a As Integer, ByRef b As Integer) Dim c As Integer Dim d As Integer End Sub
上一篇:编译错误:不兼容的指针类型赋值[-Werror=incompatible-pointer-types]
下一篇:编译错误:C:\Users\mhomes\AppData\Local\Temp\8\Temporary ASP.NET Files\ 第90行