Jul 10, 2004 #1 T Tamer_Ahmed Well-known member Joined Dec 20, 2003 Messages 159 Location Egypt hi every one what the meaning of ParamArray and why we put it in the procedure Argument
Jul 11, 2004 #2 M mutant Well-known member Joined Jan 19, 2003 Messages 1,771 Location Enfield, CT, USA User Rank *Expert* ParamArray is used to accept an undefined number of arguments which will later be converted into an array.
ParamArray is used to accept an undefined number of arguments which will later be converted into an array.
Jul 12, 2004 #3 B Bodybag Well-known member Joined Jan 16, 2004 Messages 75 mutant said: ParamArray is used to accept an undefined number of arguments which will later be converted into an array. Click to expand... Example Sub clear(ByVal ParamArray obj() As Object) For icount As Integer = 0 To obj.GetUpperBound(0) obj(icount).text = "" Next End Sub You can now pass as many objects as you want and clear their text fields.
mutant said: ParamArray is used to accept an undefined number of arguments which will later be converted into an array. Click to expand... Example Sub clear(ByVal ParamArray obj() As Object) For icount As Integer = 0 To obj.GetUpperBound(0) obj(icount).text = "" Next End Sub You can now pass as many objects as you want and clear their text fields.