|
-
Apr 1st, 2007, 03:46 AM
#1
Thread Starter
Addicted Member
[2005] Is it possible for a function have multiple variables with in a return
I have a simple question about functions.
Once you create a function is it possible for that function's return statement to return the value of multiple variables. Example:
Function somefunction() as Decimal
If A > B Then
var1 = this number
var2 = that number
var3 = and so on...
End If
Return...(What would I put here to return all three variables?)
End Function.
I realize these questions seem elementary to a lot but I only have the minimal lecturing of my professor and a beginners book. I value this forum as a key source of information but I fear that a lot of the processes I am attempting to do with in our assignments either have not been covered or just can not be done.
Any help is appreciated.
Thanks
Abrium
Asking the beginners questions so you don't have to!
If by chance hell actually froze over and I some how helped you... Please rate.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|