08-25-2012, 10:29 PM
Ah yes, you are correct! Apparently, when you create a function, you actually create a variable with the function's name! I was unaware of that!
So yes, you are going to want to replace:
[code2=vbnet]Dim ValidLuhn As Boolean = False[/code2]
With:
[code2=vbnet]ValidLuhn = False[/code2]
So yes, you are going to want to replace:
[code2=vbnet]Dim ValidLuhn As Boolean = False[/code2]
With:
[code2=vbnet]ValidLuhn = False[/code2]