文本读取的时的警告
我在程序里写了这么几句代码Dim s As System.IO.Directory
If s.Exists("C:\cc") = True Then
MsgBox("fff")
Else
s.CreateDirectory("c:\cc")
End If
他有警告 说
1 Unused local variable: 's'.
Warning 2 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
Warning 3 Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
请各位看看这个是什么错误呢。我在网上看了看,发现是说我的没有使用,但是 哪个s我名明在下面使用了。为什么说我没有使用呢,谢谢了。