Forum Discussion
venkat001
12 years agoOccasional Contributor
Thanks Alexei,
Any other method of declaring. F.Ex. if we get 'n' no of elements from the user and wants to process each element by reading it from for loop and do some action depends on case logic.
Ex:
User Input: 1,5,8,6,9,10....n
Code:
Sub Expectedinfo( array_input)
Dim arr()
arr()= array_input
a=ubound(arr()) ' to identify array size
For i=0 to a
'' Statements
Next
End Sub
Regards,
Venkates K
Any other method of declaring. F.Ex. if we get 'n' no of elements from the user and wants to process each element by reading it from for loop and do some action depends on case logic.
Ex:
User Input: 1,5,8,6,9,10....n
Code:
Sub Expectedinfo( array_input)
Dim arr()
arr()= array_input
a=ubound(arr()) ' to identify array size
For i=0 to a
'' Statements
Next
End Sub
Regards,
Venkates K