comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Returning an array from a function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Returning an array from a function [message #39920] Fri, 25 June 2004 12:56
David Fanning is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Singular arrays in structures...
Next Topic: semi-transparent colors and z buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:26:48 PDT 2025

Total time taken to generate the page: 0.24173 seconds