H
Homer Simpson
Hi All,
I'm trying to write a method where I pass three arguments and the method
returns six values. All the values will be doubles. First, is it possible to
get multiple values returned by a method? Second, how do I do it? I know how
to write the method, pass arguments to it and get a single value returned
but how do I pass multiple values back? Last, how do I reference the various
values returned? I assume there is some array used here. Any examples are
greatly appreciated.
Thanks,
Scott
I'm trying to write a method where I pass three arguments and the method
returns six values. All the values will be doubles. First, is it possible to
get multiple values returned by a method? Second, how do I do it? I know how
to write the method, pass arguments to it and get a single value returned
but how do I pass multiple values back? Last, how do I reference the various
values returned? I assume there is some array used here. Any examples are
greatly appreciated.
Thanks,
Scott