看了半天我也没看明白,
把程序拷到vb中去运行就知道了。
运行通过,但有一个警告:
warning:the return value of Function ValueSetDefaultInt is not satified with the Funtion deifined.
把程序拷到vb中去运行就知道了。
运行通过,但有一个警告:
warning:the return value of Function ValueSetDefaultInt is not satified with the Funtion deifined.
如果一定要有,也就是
tOutInt = (pValueSet And tValueIsSpace) + (pValueDefault And Not tValueIsSpace)这段代码了。
Dim tFileNumber As Integer
老兄用了很多没必要的变量赋来赋去,举棋不定的样子Public Function FileOpenGetNumber_ForBinary(ByVal pFileName As String, Optional ByVal pFileNumber As Integer = 0) As Integer FileOpenGetNumber_ForBinary =FreeFile
Open pFileName For Binary As #FileOpenGetNumber_ForBinary End Function