简单问题,请指点

sndy77 2004-02-18 04:09:30
Public Function IsFileExist(fstrFileName As String) As Boolean
Dim hFile As Integer
If(fstrFileName = "") Then
IsFileName = False
Exit Funtion
Else
hFile = FreeFile()
Open fstrFileName For Input Access Read As #hFile
Close #hFile
End If
End Funtion
这个函数是用来判断文件是否存在的.
可是这几句我不明白,谁能给解释一下,谢了,
hFile = FreeFile()
Open fstrFileName For Input Access Read As #hFile
Close #hFile
...全文
37 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复

7,785

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧