Home »
Public Forums »
archive »
Re: Returning an array from a function
Re: Returning an array from a function [message #39920] |
Fri, 25 June 2004 12:56 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Eric writes:
> I am currently trying to extract pieces of information in an array. I
> have to do it 13 times and would like to write a function that I can
> call to extract the necessary values and then store in another array
> variable to do some calculations on. Is this possible?
I can think of about half a dozen ways to do this.
Perhaps the easiest is to just use a keyword
parameter to pass the storage variable in and
out of your function.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Current Time: Sat Oct 11 06:26:48 PDT 2025
Total time taken to generate the page: 0.24173 seconds