You could return an object, structure or an array.
The object could contain multiple values as could the structure or array.
Or you could return values "byref" which is basically a reference to the memory area. Thus, the data is "shared" between the caller of the function and the function itself.
You have to be careful with byref, make sure you realize that any changes to the byref parameter within the function will be replicated back to the caller of the function. Gilbert M. Vanegas
Programmer Analyst III
County of San Bernardino - ISD
Email : gvanegas@isd.sbcounty.gov