Hi,
> -----Original Message-----
> From: [email protected] [mailto:mono-vb-
> [email protected]] On Behalf Of Jude DaShiell
> Sent: domingo, 21 de junio de 2009 16:27
> To: [email protected]
> Subject: [mono-vb] function needs a return type
>
> Would something like:Dim ML = ComputeM() As Ushort work to give the
> ComputeM() function a return type?
No.
A function without a return type is:
Function Foo ()
Return 1
End Function
A function with a return type is:
Function Bar () As Integer
Return 1
End Function
It has nothing to do with how you use the function, but how you declare it.
Rolf
If it will, that ML variable will
> need
> another variable since ML can be either loaded with ComputeM() or
> RecMov()
> depending on what choice a user makes to obtain a hexagram. If that
> won't
> work, how is this done correctly?
>
> _______________________________________________
> Mono-vb mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-vb
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb