karthikone
New Member
- Joined
- May 4, 2006
- Messages
- 19
hi,
i want to know how to return an array of values from a function and use that array values in the calling procedure.
say for eg.
Sub XYZ()
---
---
---
Select Case C
Case "ABC"
Call Gap(arg, arg2, arg3, arg4, arg5)
End Select
End Sub
Function Gap(Par1, Par2, Par3, Par4, Par5)
---
--
--
End Function
I want to return 4 values from the called procedure to the calling procedure. In the calling procedure i want to assign the values which is computed from the called procedure to a variable.
How to do it.
Any help.
thanks[/code]
i want to know how to return an array of values from a function and use that array values in the calling procedure.
say for eg.
Sub XYZ()
---
---
---
Select Case C
Case "ABC"
Call Gap(arg, arg2, arg3, arg4, arg5)
End Select
End Sub
Function Gap(Par1, Par2, Par3, Par4, Par5)
---
--
--
End Function
I want to return 4 values from the called procedure to the calling procedure. In the calling procedure i want to assign the values which is computed from the called procedure to a variable.
How to do it.
Any help.
thanks[/code]