预期的Vb编译错误:列表分隔符或)

时间:2008-11-12 05:56:46

标签: vb6

代码行是:

BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

从教程中取出这个,所以不确定我做错了什么:/

这是一个新功能,如果它不明显

1 个答案:

答案 0 :(得分:1)

根据我正在阅读的内容,代码行是:

BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

应该是:

Function BreakDown(Full As String, FName As String, PName As String, Ext As String) As Integer

也许在单词Function之前使用修饰符,例如PrivatePublic。功能代码完成后,请确保您还有以下行:

End Function