S Saj Active Member Licensed User Feb 7, 2011 #1 Is it possible to return more than a 2 or more values from a sub using the Return statement?
M mjcoon Well-Known Member Licensed User Feb 7, 2011 #2 Saj said: Is it possible to return more than a 2 or more values from a sub using the Return statement? Click to expand... Not explicitly within the Return statement, but multiple values can be returned by putting them in "ByRef" parameters (arguments) to the Sub, about which the Help says: It ["ByRef" parameters] can also be used to return multiple values from a Sub. Click to expand... Mike.
Saj said: Is it possible to return more than a 2 or more values from a sub using the Return statement? Click to expand... Not explicitly within the Return statement, but multiple values can be returned by putting them in "ByRef" parameters (arguments) to the Sub, about which the Help says: It ["ByRef" parameters] can also be used to return multiple values from a Sub. Click to expand... Mike.
S Saj Active Member Licensed User Feb 8, 2011 #3 Thanks. I also found the following example: http://www.b4x.com/forum/questions-help-needed/6853-returning-multiple-values-sub.html
Thanks. I also found the following example: http://www.b4x.com/forum/questions-help-needed/6853-returning-multiple-values-sub.html