vb. net
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
-
If that is all you need your function to do, then you can add a function procedure to any form or module: Public Function MaxThree(byval Int1 as integer, byval Int2 as integer, byval Int3 as integer) as integer If Int1 > Int2 then if Int1 > Int3 then MaxThree = Int1 Exit Function End If End If If Int2 > Int3 Then ..... End Function This is an incomplete, very basic, example but I think you should get the idea from here.
-