Vb Compile Expected error: list separator or)

Line of code:

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

      

took this from a tutorial so not sure what i'm doing wrong: /

this is a new feature if it is not obvious

+1


source to share


1 answer


As per what I'm reading, the line of code:

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

      

It should be:



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

      

Perhaps with a modifier before a word Function

, such as Private

or Public

. When the function code is complete, make sure you also have this line:

End Function

      

+1


source







All Articles