YourSurrogateGod
March 19th, 2005, 10:52 PM
Stupid question (can't find the answer in the book :rolleyes: .) When strict is on, what do you put at the end of a method declaration in order to make it compile when you don't want to return anything (in C/C++ you have void)?
Option Strict On
Option Explicit On
Module Module1
Sub Main()
End Sub
Function Addition(ByVal n As Integer, ByRef result As Integer) As Nothing
End Function
End Module
Option Strict On
Option Explicit On
Module Module1
Sub Main()
End Sub
Function Addition(ByVal n As Integer, ByRef result As Integer) As Nothing
End Function
End Module