Is there a way to overload a VBScript function? Take the following example:<br><br>definition:<br><br>Function MakeConn(strSql, x, y)<br>Dim ConnTemp, RsTemp<br><br>Set ConnTemp = Server.CreateObject("ADODB.Connection"<br>Set RsTemp = Server.CreateObject("ADODB.Recordset"<br><br>ConnTemp.Open "PROVIDER = Microsoft.Jet.OLEDB.4.0; Data Source = C:\Inetpub\ strSql, ConnTemp, x, y<br><br>MakeConn = RsTemp<br><br>End Function<br><br>instance:<br><br>Dim objCool<br>set objCool = MakeConn("select * from address",1, 2)<br>Response.Write "<br>" & objCool("Email"<br><br>--------------------------------------------------<br>This works fine the way it is, however I would like to be able to do this:<br><br>set objCool = MakeConn("select * from whatever"<br><br>and have default values of 0 and 2 for x and y respectively. How very easy it is to do such in C++!<br><br>Thanks<br>Jeremy Lowery