Student Mode Code Display

Welcome to the Fraternity!

Commenting has been enabled. You can comment on all the Code Items now.

Vb Script Function Returning Array


Add This Code to My Favourite List
Enter Email

Contributed By admin
Date 2015-01-26 11:48:41

function ReturnArrayFunc()

	Dim aData(3)
	aData (0)="A"
	aData (1)="b"
	aData (2)="c"

	'populate  aData  with strings

	ReturnArrayFunc  = aData

End Function


val1=  ReturnArrayFunc ()
For i=0 To UBound(val1)
  MsgBox val1(i)
Next

Download Above Code

Comments:



Add your comments...
Name : *      
Email : *      
The content of this field will be kept private and will not be shown publicly

Your Comment/Answer *

Enter the text present in this box : *