Do you mean something like:
Dim val1 as Int = 1
Dim val2 as Int = 2
Dim number as Int = SomeRoutine(val1, val2)
....
Private Function SomeRoutine (ByVal val1 As Integer, ByVal val2 as Integer)
_
As Integer
Return val1 + val2
End Function
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************
"John" <so*****@nowhere.netwrote in message
news:wd*************@newsfe12.lga...
>I wrote a C++ function which has 2 integer parameters and returns an
integer. Is it possible to implement this function in vb.net?
int number = (int, int);